diff --git a/admin/serviceannouncement_messages_item_attachments_item_content_request_builder.go b/admin/serviceannouncement_messages_item_attachments_item_content_request_builder.go index 13c25f107c0..65cc58801a7 100644 --- a/admin/serviceannouncement_messages_item_attachments_item_content_request_builder.go +++ b/admin/serviceannouncement_messages_item_attachments_item_content_request_builder.go @@ -61,9 +61,12 @@ func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) De } return nil } -// Get the attachment content. +// Get read the properties and relationships of a serviceAnnouncementAttachment object. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-beta func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the attachment content. +// ToGetRequestInformation read the properties and relationships of a serviceAnnouncementAttachment object. // returns a *RequestInformation when successful func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatableassets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatableassets_updatable_asset_item_request_builder.go index 933860558fc..b5dbbe4d190 100644 --- a/admin/windows_updates_updatableassets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatableassets_updatable_asset_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties of an azureADDevice object. +// WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAsset object. type WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilder) Delete(c } return nil } -// Get read the properties of an azureADDevice object. +// Get read the properties and relationships of an updatableAsset object. // returns a UpdatableAssetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta func (m *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -147,7 +147,7 @@ func (m *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of an azureADDevice object. +// ToGetRequestInformation read the properties and relationships of an updatableAsset object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableassetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatepolicies_item_compliancechanges_compliance_change_item_request_builder.go b/admin/windows_updates_updatepolicies_item_compliancechanges_compliance_change_item_request_builder.go index 89cfb3bcaa4..89f4d705c22 100644 --- a/admin/windows_updates_updatepolicies_item_compliancechanges_compliance_change_item_request_builder.go +++ b/admin/windows_updates_updatepolicies_item_compliancechanges_compliance_change_item_request_builder.go @@ -96,12 +96,12 @@ func (m *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRe } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// Patch update the properties of a complianceChange object. +// Patch update the properties of a contentApproval object. // returns a ComplianceChangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta func (m *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a complianceChange object. +// ToPatchRequestInformation update the properties of a contentApproval object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatepoliciesItemCompliancechangesComplianceChangeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/agreementacceptances/agreement_acceptances_request_builder.go b/agreementacceptances/agreement_acceptances_request_builder.go index dc6f147ef72..8afc4af13de 100644 --- a/agreementacceptances/agreement_acceptances_request_builder.go +++ b/agreementacceptances/agreement_acceptances_request_builder.go @@ -15,8 +15,12 @@ type AgreementAcceptancesRequestBuilder struct { type AgreementAcceptancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -57,7 +61,7 @@ func (m *AgreementAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAc // NewAgreementAcceptancesRequestBuilderInternal instantiates a new AgreementAcceptancesRequestBuilder and sets the default values. func NewAgreementAcceptancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AgreementAcceptancesRequestBuilder) { m := &AgreementAcceptancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/agreements/agreements_request_builder.go b/agreements/agreements_request_builder.go index 304e542a24e..174ee2d9e68 100644 --- a/agreements/agreements_request_builder.go +++ b/agreements/agreements_request_builder.go @@ -15,8 +15,12 @@ type AgreementsRequestBuilder struct { type AgreementsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -57,7 +61,7 @@ func (m *AgreementsRequestBuilder) ByAgreementId(agreementId string)(*AgreementI // NewAgreementsRequestBuilderInternal instantiates a new AgreementsRequestBuilder and sets the default values. func NewAgreementsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AgreementsRequestBuilder) { m := &AgreementsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/app/calls_item_participants_invite_request_builder.go b/app/calls_item_participants_invite_request_builder.go index a741053253f..f1aca6c9e0e 100644 --- a/app/calls_item_participants_invite_request_builder.go +++ b/app/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_bot_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_bot_request_builder.go index b2b572e8113..d568aa01439 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_bot_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_bot_request_builder.go @@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemBotRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters the details of the bot specified in the Teams app manifest. +// TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters get the bot associated with a specific definition of the TeamsApp. type TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) Delete(ctx context.Co } return nil } -// Get the details of the bot specified in the Teams app manifest. +// Get get the bot associated with a specific definition of the TeamsApp. // returns a TeamworkBotable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemBotRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkBotable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +124,7 @@ func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the details of the bot specified in the Teams app manifest. +// ToGetRequestInformation get the bot associated with a specific definition of the TeamsApp. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemBotRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_color_icon_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_color_icon_request_builder.go index 429e30d39c9..3274df990d9 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_color_icon_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_color_icon_request_builder.go @@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderGetQueryParameters the color version of the Teams app's icon. +// TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderGetQueryParameters retrieve a Teams app icon associated with a specific definition of an app. type TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilder) Delete } return nil } -// Get the color version of the Teams app's icon. +// Get retrieve a Teams app icon associated with a specific definition of an app. // returns a TeamsAppIconable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppIconable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the color version of the Teams app's icon. +// ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconColorIconRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_hosted_content_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_hosted_content_request_builder.go index 02384faf50a..0223c37a615 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_hosted_content_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_hosted_content_request_builder.go @@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilderGetQueryParameters the contents of the app icon if the icon is hosted within the Teams infrastructure. +// TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilderGetQueryParameters retrieve the hosted content in an app's icon. type TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentReque } return nil } -// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. +// Get retrieve the hosted content in an app's icon. // returns a TeamworkHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. +// ToGetRequestInformation retrieve the hosted content in an app's icon. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconHostedcontentHostedContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_value_content_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_value_content_request_builder.go index 7f2204528f3..3980629b33d 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_value_content_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_coloricon_hostedcontent_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentReques } return nil } -// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. +// Get retrieve the hosted content in an app's icon. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. +// ToGetRequestInformation retrieve the hosted content in an app's icon. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemColoriconHostedcontentValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_hosted_content_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_hosted_content_request_builder.go index eb7cb4407a0..84c56f176f0 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_hosted_content_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_hosted_content_request_builder.go @@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilderGetQueryParameters the contents of the app icon if the icon is hosted within the Teams infrastructure. +// TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilderGetQueryParameters retrieve the hosted content in an app's icon. type TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentReq } return nil } -// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. +// Get retrieve the hosted content in an app's icon. // returns a TeamworkHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. +// ToGetRequestInformation retrieve the hosted content in an app's icon. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentHostedContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_value_content_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_value_content_request_builder.go index 36f39fed876..430355ceaef 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_value_content_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_hostedcontent_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequ } return nil } -// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. +// Get retrieve the hosted content in an app's icon. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. +// ToGetRequestInformation retrieve the hosted content in an app's icon. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconHostedcontentValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_outline_icon_request_builder.go b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_outline_icon_request_builder.go index 1f649569eb0..4160ab6d96d 100644 --- a/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_outline_icon_request_builder.go +++ b/appcatalogs/teamsapps_item_appdefinitions_item_outlineicon_outline_icon_request_builder.go @@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderGetQueryParameters the outline version of the Teams app's icon. +// TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderGetQueryParameters retrieve a Teams app icon associated with a specific definition of an app. type TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilder) De } return nil } -// Get the outline version of the Teams app's icon. +// Get retrieve a Teams app icon associated with a specific definition of an app. // returns a TeamsAppIconable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-beta func (m *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppIconable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the outline version of the Teams app's icon. +// ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. // returns a *RequestInformation when successful func (m *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemOutlineiconOutlineIconRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_lastmessagepreview_last_message_preview_request_builder.go b/chats/item_lastmessagepreview_last_message_preview_request_builder.go index eafe7c4bb62..80af06d841f 100644 --- a/chats/item_lastmessagepreview_last_message_preview_request_builder.go +++ b/chats/item_lastmessagepreview_last_message_preview_request_builder.go @@ -18,7 +18,7 @@ type ItemLastmessagepreviewLastMessagePreviewRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// ItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. type ItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemLastmessagepreviewLastMessagePreviewRequestBuilder) Delete(ctx cont } return nil } -// Get preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// Get preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. // returns a ChatMessageInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemLastmessagepreviewLastMessagePreviewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLastmessagepreviewLastMessagePreviewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageInfoable, error) { @@ -121,7 +121,7 @@ func (m *ItemLastmessagepreviewLastMessagePreviewRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// ToGetRequestInformation preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. // returns a *RequestInformation when successful func (m *ItemLastmessagepreviewLastMessagePreviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLastmessagepreviewLastMessagePreviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_hostedcontents_item_value_content_request_builder.go b/chats/item_messages_item_hostedcontents_item_value_content_request_builder.go index 6f17dffc526..faf17ffeecf 100644 --- a/chats/item_messages_item_hostedcontents_item_value_content_request_builder.go +++ b/chats/item_messages_item_hostedcontents_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) Delete(ct } return nil } -// Get the unique identifier for an entity. Read-only. +// Get 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.s // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-beta func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation 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.s // returns a *RequestInformation when successful func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 3e5c3616dc8..d857f649fe1 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 8b074ef3213..705d331d1f6 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/compliance/ediscovery_cases_item_custodians_item_sitesources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_sitesources_site_source_item_request_builder.go index 2c7438e004b..1a119dd418c 100644 --- a/compliance/ediscovery_cases_item_custodians_item_sitesources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_sitesources_site_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. +// EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a siteSource object. type EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,9 +54,12 @@ func NewEdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property siteSources for compliance +// Delete delete a siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sitesource-delete?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,10 +74,13 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilde } return nil } -// Get data source entity for SharePoint sites associated with the custodian. +// Get read the properties and relationships of a siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sitesource-get?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +124,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilde func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder) Site()(*EdiscoveryCasesItemCustodiansItemSitesourcesItemSiteRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemSitesourcesItemSiteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property siteSources for compliance +// ToDeleteRequestInformation delete a siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -130,7 +136,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. +// ToGetRequestInformation read the properties and relationships of a siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_sitesources_site_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_sitesources_site_sources_request_builder.go index 4a1f710eeb2..b8d106b8c7b 100644 --- a/compliance/ediscovery_cases_item_custodians_item_sitesources_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_sitesources_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. +// EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters get a list of siteSource objects and their properties. type EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder(ra func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemSitesourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemSitesourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for SharePoint sites associated with the custodian. +// Get get a list of siteSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-sitesources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable), nil } -// Post create new navigation property to siteSources for compliance +// Post create a new custodian siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-sitesources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable), nil } -// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. +// ToGetRequestInformation get a list of siteSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to siteSources for compliance +// ToPostRequestInformation create a new custodian siteSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_source_item_request_builder.go index 71aea337ca3..da2ace7ab47 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. +// EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a unifiedGroupSource object. type EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,9 +54,12 @@ func NewEdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceIt urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property unifiedGroupSources for compliance +// Delete delete a unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-delete?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,10 +74,13 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceI } return nil } -// Get data source entity for groups associated with the custodian. +// Get read the properties and relationships of a unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-get?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +124,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceI } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable), nil } -// ToDeleteRequestInformation delete navigation property unifiedGroupSources for compliance +// ToDeleteRequestInformation delete a unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -130,7 +136,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation data source entity for groups associated with the custodian. +// ToGetRequestInformation read the properties and relationships of a unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go index 65a12b6f9f8..b8857642f28 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. +// EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters get a list of the unifiedGroupSource objects and their properties. type EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesR func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for groups associated with the custodian. +// Get get a list of the unifiedGroupSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-unifiedgroupsources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSources } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceCollectionResponseable), nil } -// Post create new navigation property to unifiedGroupSources for compliance +// Post create a new unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-unifiedgroupsources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSources } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable), nil } -// ToGetRequestInformation data source entity for groups associated with the custodian. +// ToGetRequestInformation get a list of the unifiedGroupSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSources requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to unifiedGroupSources for compliance +// ToPostRequestInformation create a new unifiedGroupSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_usersources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_usersources_user_source_item_request_builder.go index 810fa2085f8..6ccb5233ea0 100644 --- a/compliance/ediscovery_cases_item_custodians_item_usersources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_usersources_user_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderGetQueryParameters data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a userSource object. type EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,9 +54,12 @@ func NewEdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property userSources for compliance +// Delete delete a userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-usersource-delete?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,10 +74,13 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilde } return nil } -// Get data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// Get read the properties and relationships of a userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-usersource-get?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +119,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilde } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToDeleteRequestInformation delete navigation property userSources for compliance +// ToDeleteRequestInformation delete a userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -125,7 +131,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// ToGetRequestInformation read the properties and relationships of a userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_usersources_user_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_usersources_user_sources_request_builder.go index 7a175e8c9b3..bfc80ee80eb 100644 --- a/compliance/ediscovery_cases_item_custodians_item_usersources_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_usersources_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects and their properties. type EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder(ra func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemUsersourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemUsersourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// Get get a list of the userSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-usersources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable), nil } -// Post create new navigation property to userSources for compliance +// Post create a new custodian userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-usersources?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToGetRequestInformation data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// ToGetRequestInformation get a list of the userSource objects and their properties. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to userSources for compliance +// ToPostRequestInformation create a new custodian userSource object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legalholds_item_sitesources_site_sources_request_builder.go b/compliance/ediscovery_cases_item_legalholds_item_sitesources_site_sources_request_builder.go index 888ba083ec5..177d0f5c832 100644 --- a/compliance/ediscovery_cases_item_legalholds_item_sitesources_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legalholds_item_sitesources_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the legal hold. +// EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters get the list of siteSource objecs associated with a legal hold. type EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder(ra func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) Count()(*EdiscoveryCasesItemLegalholdsItemSitesourcesCountRequestBuilder) { return NewEdiscoveryCasesItemLegalholdsItemSitesourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for SharePoint sites associated with the legal hold. +// Get get the list of siteSource objecs associated with a legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-sitesources?view=graph-rest-beta func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable), nil } -// Post create new navigation property to siteSources for compliance +// Post adds a siteSource to a legalHold object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-sitesources?view=graph-rest-beta func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable), nil } -// ToGetRequestInformation data source entity for SharePoint sites associated with the legal hold. +// ToGetRequestInformation get the list of siteSource objecs associated with a legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to siteSources for compliance +// ToPostRequestInformation adds a siteSource to a legalHold object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legalholds_item_usersources_user_sources_request_builder.go b/compliance/ediscovery_cases_item_legalholds_item_usersources_user_sources_request_builder.go index f5077ca706f..b7feb3f776d 100644 --- a/compliance/ediscovery_cases_item_legalholds_item_usersources_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legalholds_item_usersources_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderGetQueryParameters data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. +// EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderGetQueryParameters get the list of userSource objects associated with a legal hold. type EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder(ra func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) Count()(*EdiscoveryCasesItemLegalholdsItemUsersourcesCountRequestBuilder) { return NewEdiscoveryCasesItemLegalholdsItemUsersourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. +// Get get the list of userSource objects associated with a legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-usersources?view=graph-rest-beta func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable), nil } -// Post create new navigation property to userSources for compliance +// Post adds a userSource to a legalHold object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-usersources?view=graph-rest-beta func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToGetRequestInformation data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. +// ToGetRequestInformation get the list of userSource objects associated with a legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to userSources for compliance +// ToPostRequestInformation adds a userSource to a legalHold object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_reviewsets_item_queries_request_builder.go b/compliance/ediscovery_cases_item_reviewsets_item_queries_request_builder.go index befe7ab9eb4..db39a8b3d78 100644 --- a/compliance/ediscovery_cases_item_reviewsets_item_queries_request_builder.go +++ b/compliance/ediscovery_cases_item_reviewsets_item_queries_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters get queries from compliance +// EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters retrieve a list of eDiscovery reviewSetQuery objects. type EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder(rawUrl string, re func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) Count()(*EdiscoveryCasesItemReviewsetsItemQueriesCountRequestBuilder) { return NewEdiscoveryCasesItemReviewsetsItemQueriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get queries from compliance +// Get retrieve a list of eDiscovery reviewSetQuery objects. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-list?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,10 +101,13 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) Get(ctx context } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryCollectionResponseable), nil } -// Post create new navigation property to queries for compliance +// Post create a new reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-post?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) Post(ctx contex } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable), nil } -// ToGetRequestInformation get queries from compliance +// ToGetRequestInformation retrieve a list of eDiscovery reviewSetQuery objects. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +140,7 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to queries for compliance +// ToPostRequestInformation create a new reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_reviewsets_item_queries_review_set_query_item_request_builder.go b/compliance/ediscovery_cases_item_reviewsets_item_queries_review_set_query_item_request_builder.go index 3371ae8e27d..1bb506a83bc 100644 --- a/compliance/ediscovery_cases_item_reviewsets_item_queries_review_set_query_item_request_builder.go +++ b/compliance/ediscovery_cases_item_reviewsets_item_queries_review_set_query_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters get queries from compliance +// EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an eDiscovery reviewSetQuery object. type EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,9 +54,12 @@ func NewEdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property queries for compliance +// Delete delete a reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-delete?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,10 +74,13 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilde } return nil } -// Get get queries from compliance +// Get retrieve the properties and relationships of an eDiscovery reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-get?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,10 +103,13 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilde func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) MicrosoftGraphEdiscoveryApplyTags()(*EdiscoveryCasesItemReviewsetsItemQueriesItemMicrosoftgraphediscoveryapplytagsMicrosoftGraphEdiscoveryApplyTagsRequestBuilder) { return NewEdiscoveryCasesItemReviewsetsItemQueriesItemMicrosoftgraphediscoveryapplytagsMicrosoftGraphEdiscoveryApplyTagsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property queries in compliance +// Patch update the properties of an eDiscovery reviewSetQuery. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-update?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +127,7 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilde } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable), nil } -// ToDeleteRequestInformation delete navigation property queries for compliance +// ToDeleteRequestInformation delete a reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -130,7 +139,7 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get queries from compliance +// ToGetRequestInformation retrieve the properties and relationships of an eDiscovery reviewSetQuery object. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -145,7 +154,7 @@ func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property queries in compliance +// ToPatchRequestInformation update the properties of an eDiscovery reviewSetQuery. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewsetsItemQueriesReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_sourcecollections_item_additionalsources_additional_sources_request_builder.go b/compliance/ediscovery_cases_item_sourcecollections_item_additionalsources_additional_sources_request_builder.go index 87c7a1ea16c..33ade90cb05 100644 --- a/compliance/ediscovery_cases_item_sourcecollections_item_additionalsources_additional_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_sourcecollections_item_additionalsources_additional_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters adds an additional source to the sourceCollection. +// EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters get a list of additional dataSource objects associated with a source collection. type EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,10 +77,13 @@ func NewEdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourc func (m *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get adds an additional source to the sourceCollection. +// Get get a list of additional dataSource objects associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-additionalsources?view=graph-rest-beta func (m *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSour } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceable), nil } -// ToGetRequestInformation adds an additional source to the sourceCollection. +// ToGetRequestInformation get a list of additional dataSource objects associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemAdditionalsourcesAdditionalSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_sourcecollections_item_addtoreviewsetoperation_add_to_review_set_operation_request_builder.go b/compliance/ediscovery_cases_item_sourcecollections_item_addtoreviewsetoperation_add_to_review_set_operation_request_builder.go index ccd2e20778e..4ce71d16b82 100644 --- a/compliance/ediscovery_cases_item_sourcecollections_item_addtoreviewsetoperation_add_to_review_set_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_sourcecollections_item_addtoreviewsetoperation_add_to_review_set_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderGetQueryParameters adds the results of the sourceCollection to the specified reviewSet. +// EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderGetQueryParameters get the last addToReviewSetOperation object associated with a source collection. type EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,10 +40,13 @@ func NewEdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToRevi urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get adds the results of the sourceCollection to the specified reviewSet. +// Get get the last addToReviewSetOperation object associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a AddToReviewSetOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-addtoreviewsetoperation?view=graph-rest-beta func (m *EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.AddToReviewSetOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -61,7 +64,7 @@ func (m *EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToRev } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.AddToReviewSetOperationable), nil } -// ToGetRequestInformation adds the results of the sourceCollection to the specified reviewSet. +// ToGetRequestInformation get the last addToReviewSetOperation object associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemAddtoreviewsetoperationAddToReviewSetOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_sourcecollections_item_custodiansources_custodian_sources_request_builder.go b/compliance/ediscovery_cases_item_sourcecollections_item_custodiansources_custodian_sources_request_builder.go index 1dacf701596..363692012a1 100644 --- a/compliance/ediscovery_cases_item_sourcecollections_item_custodiansources_custodian_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_sourcecollections_item_custodiansources_custodian_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters custodian sources that are included in the sourceCollection. +// EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters get the list of dataSource objects associated with a source collection. type EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,10 +70,13 @@ func NewEdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSources func (m *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get custodian sources that are included in the sourceCollection. +// Get get the list of dataSource objects associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-custodiansources?view=graph-rest-beta func (m *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,7 +94,7 @@ func (m *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSource } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable), nil } -// ToGetRequestInformation custodian sources that are included in the sourceCollection. +// ToGetRequestInformation get the list of dataSource objects associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemCustodiansourcesCustodianSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_sourcecollections_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go b/compliance/ediscovery_cases_item_sourcecollections_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go index bcacc48788f..731ee5ebdba 100644 --- a/compliance/ediscovery_cases_item_sourcecollections_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_sourcecollections_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters the last estimate operation associated with the sourceCollection. +// EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters get the last estimateStatisticsOperation object associated with a source collection. type EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,10 +40,13 @@ func NewEdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationL urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get the last estimate operation associated with the sourceCollection. +// Get get the last estimateStatisticsOperation object associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a EstimateStatisticsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation?view=graph-rest-beta func (m *EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.EstimateStatisticsOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -61,7 +64,7 @@ func (m *EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperation } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.EstimateStatisticsOperationable), nil } -// ToGetRequestInformation the last estimate operation associated with the sourceCollection. +// ToGetRequestInformation get the last estimateStatisticsOperation object associated with a source collection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_sourcecollections_item_noncustodialsources_noncustodial_sources_request_builder.go b/compliance/ediscovery_cases_item_sourcecollections_item_noncustodialsources_noncustodial_sources_request_builder.go index 167c14962ff..b11a47ae461 100644 --- a/compliance/ediscovery_cases_item_sourcecollections_item_noncustodialsources_noncustodial_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_sourcecollections_item_noncustodialsources_noncustodial_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilderGetQueryParameters noncustodialDataSource sources that are included in the sourceCollection +// EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilderGetQueryParameters get a list of noncustodialDataSource associated with a sourceCollection. type EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,10 +70,13 @@ func NewEdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialS func (m *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get noncustodialDataSource sources that are included in the sourceCollection +// Get get a list of noncustodialDataSource associated with a sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a NoncustodialDataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-noncustodialsources?view=graph-rest-beta func (m *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,7 +94,7 @@ func (m *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodial } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceCollectionResponseable), nil } -// ToGetRequestInformation noncustodialDataSource sources that are included in the sourceCollection +// ToGetRequestInformation get a list of noncustodialDataSource associated with a sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourcecollectionsItemNoncustodialsourcesNoncustodialSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_tags_item_childtags_child_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_item_childtags_child_tags_request_builder.go index 31c48866fec..400e5fadf39 100644 --- a/compliance/ediscovery_cases_item_tags_item_childtags_child_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_childtags_child_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilderGetQueryParameters returns the tags that are a child of a tag. +// EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilderGetQueryParameters get a list of child tag objects associated with a tag. type EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,10 +70,13 @@ func NewEdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder(rawUrl strin func (m *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder) Count()(*EdiscoveryCasesItemTagsItemChildtagsCountRequestBuilder) { return NewEdiscoveryCasesItemTagsItemChildtagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the tags that are a child of a tag. +// Get get a list of child tag objects associated with a tag. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a TagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-tag-childtags?view=graph-rest-beta func (m *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.TagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,7 +94,7 @@ func (m *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder) Get(ctx co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.TagCollectionResponseable), nil } -// ToGetRequestInformation returns the tags that are a child of a tag. +// ToGetRequestInformation get a list of child tag objects associated with a tag. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsItemChildtagsChildTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_tags_microsoftgraphediscoveryashierarchy_microsoft_graph_ediscovery_as_hierarchy_request_builder.go b/compliance/ediscovery_cases_item_tags_microsoftgraphediscoveryashierarchy_microsoft_graph_ediscovery_as_hierarchy_request_builder.go index 13c9ec65205..141ce9aebb8 100644 --- a/compliance/ediscovery_cases_item_tags_microsoftgraphediscoveryashierarchy_microsoft_graph_ediscovery_as_hierarchy_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_microsoftgraphediscoveryashierarchy_microsoft_graph_ediscovery_as_hierarchy_request_builder.go @@ -10,7 +10,7 @@ import ( type EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderGetQueryParameters invoke function asHierarchy +// EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderGetQueryParameters return a list of tag objects in hierarchial form type EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,7 +51,7 @@ func NewEdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraph urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function asHierarchy +// Get return a list of tag objects in hierarchial form // Deprecated: This method is obsolete. Use GetAsAsHierarchyGetResponse instead. // returns a EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyAsHierarchyResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -72,7 +72,7 @@ func (m *EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGrap } return res.(EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyAsHierarchyResponseable), nil } -// GetAsAsHierarchyGetResponse invoke function asHierarchy +// GetAsAsHierarchyGetResponse return a list of tag objects in hierarchial form // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyAsHierarchyGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -93,7 +93,7 @@ func (m *EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGrap } return res.(EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyAsHierarchyGetResponseable), nil } -// ToGetRequestInformation invoke function asHierarchy +// ToGetRequestInformation return a list of tag objects in hierarchial form // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsMicrosoftgraphediscoveryashierarchyMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go b/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go index b31e851bca3..1fffe7d0f62 100644 --- a/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. type IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioning } return nil } -// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// Get the associated group assignments for IosLobAppProvisioningConfiguration. // returns a IosLobAppProvisioningConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentable, error) { @@ -121,7 +121,7 @@ func (m *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioning requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. // returns a *RequestInformation when successful func (m *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IoslobappprovisioningconfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_request_builder.go b/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_request_builder.go index 5dd314fd4d6..c48546e6425 100644 --- a/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_request_builder.go +++ b/deviceappmanagement/ioslobappprovisioningconfigurations_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. type IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewIoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder(rawUrl func (m *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder) Count()(*IoslobappprovisioningconfigurationsItemAssignmentsCountRequestBuilder) { return NewIoslobappprovisioningconfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// Get the associated group assignments for IosLobAppProvisioningConfiguration. // returns a IosLobAppProvisioningConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentable), nil } -// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. // returns a *RequestInformation when successful func (m *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IoslobappprovisioningconfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_mobile_app_relationship_item_request_builder.go index 3b11f8881cc..cff8703341f 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipI } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidforworkappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_request_builder.go index 643a3e6e5df..1b2c666d712 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidforworkapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphandroidforworkappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphandroidforworkappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidforworkappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidforworkappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphandroidforworkappRelationshipsRequestBuilder(rawUrl s func (m *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphandroidforworkappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphandroidforworkappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidforworkappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go index 447f14a3f5f..75b07dae547 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemR } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_request_builder.go index a62dbee6a93..85dfabfafb8 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidlobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphandroidlobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphandroidlobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidlobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidlobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphandroidlobappRelationshipsRequestBuilder(rawUrl strin func (m *MobileappsItemGraphandroidlobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphandroidlobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphandroidlobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidlobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidlobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphandroidlobappRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidlobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidlobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_mobile_app_relationship_item_request_builder.go index 1d0427bd03a..29cdc3fefb6 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationship // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelation } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidmanagedstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_request_builder.go index 7e5e2ff39ef..a9ff53bde2c 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidmanagedstoreapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder(raw func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphandroidmanagedstoreappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphandroidmanagedstoreappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidmanagedstoreappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_mobile_app_relationship_item_request_builder.go index 9ebf3d47fca..f57f92c8ab1 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipIte } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_request_builder.go index df2fe6c2cca..e0c6f42351f 100644 --- a/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphandroidstoreapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphandroidstoreappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphandroidstoreappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphandroidstoreappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphandroidstoreappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphandroidstoreappRelationshipsRequestBuilder(rawUrl str func (m *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphandroidstoreappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphandroidstoreappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphandroidstoreappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_mobile_app_relationship_item_request_builder.go index 77c82743e8f..c62bea54d1a 100644 --- a/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_request_builder.go index 65a4eadde78..8ca1e3125c7 100644 --- a/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphioslobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphioslobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphioslobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphioslobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphioslobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphioslobappRelationshipsRequestBuilder(rawUrl string, r func (m *MobileappsItemGraphioslobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphioslobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphioslobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphioslobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphioslobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphioslobappRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphioslobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphioslobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_mobile_app_relationship_item_request_builder.go index 243e9cca622..f1dc4e3b6e1 100644 --- a/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphiosstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_request_builder.go index 85d139b71dc..04c9f80b000 100644 --- a/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphiosstoreapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphiosstoreappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphiosstoreappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphiosstoreappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphiosstoreappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphiosstoreappRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphiosstoreappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphiosstoreappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphiosstoreappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphiosstoreappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphiosstoreappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphiosstoreappRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphiosstoreappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphiosstoreappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_mobile_app_relationship_item_request_builder.go index fae57550e3a..49d0a9bc892 100644 --- a/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphiosvppappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_request_builder.go index 5e17effe7fd..250a05f149e 100644 --- a/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphiosvppapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphiosvppappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphiosvppappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphiosvppappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphiosvppappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphiosvppappRelationshipsRequestBuilder(rawUrl string, r func (m *MobileappsItemGraphiosvppappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphiosvppappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphiosvppappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphiosvppappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphiosvppappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphiosvppappRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphiosvppappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphiosvppappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_mobile_app_relationship_item_request_builder.go index b7224b0e668..98f88eee5b4 100644 --- a/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacosdmgappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_request_builder.go index f118a14bca7..57c6b1663db 100644 --- a/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacosdmgapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmacosdmgappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmacosdmgappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacosdmgappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacosdmgappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmacosdmgappRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmacosdmgappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmacosdmgappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacosdmgappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_mobile_app_relationship_item_request_builder.go index 68ffb969158..3116b6ea133 100644 --- a/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacoslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_request_builder.go index e8cf415f28c..5c51e78208d 100644 --- a/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacoslobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmacoslobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmacoslobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacoslobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacoslobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmacoslobappRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphmacoslobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmacoslobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmacoslobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacoslobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacoslobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmacoslobappRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacoslobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacoslobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_mobile_app_relationship_item_request_builder.go index f2ef668e485..fead4989218 100644 --- a/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacospkgappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_request_builder.go index a051e2c6672..0e52d8b7cba 100644 --- a/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmacospkgapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmacospkgappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmacospkgappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmacospkgappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmacospkgappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmacospkgappRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphmacospkgappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmacospkgappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmacospkgappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmacospkgappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmacospkgappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmacospkgappRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmacospkgappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmacospkgappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go index 02e5893569c..3abf69d779f 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationsh } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedandroidlobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_request_builder.go index ce4a74e8dc9..97e704886a7 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedandroidlobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder(rawUr func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmanagedandroidlobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmanagedandroidlobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedandroidlobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_mobile_app_relationship_item_request_builder.go index 16c5a086b84..38d5374391c 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipIt } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedioslobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_request_builder.go index 37859bb31da..3beb7f1bae2 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedioslobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder(rawUrl st func (m *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmanagedioslobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmanagedioslobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedioslobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_mobile_app_relationship_item_request_builder.go index 3bdadc78198..555620fdd9a 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshi } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedmobilelobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_request_builder.go index 278788fad08..2e8a5d6e322 100644 --- a/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmanagedmobilelobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder(rawUrl func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmanagedmobilelobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmanagedmobilelobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmanagedmobilelobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_mobile_app_relationship_item_request_builder.go index 8b5c381028c..f1bb2c6fbda 100644 --- a/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRe } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_request_builder.go index c4ad1377ac9..62a2558f3c0 100644 --- a/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphmicrosoftstoreforbusinessapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuild func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphmicrosoftstoreforbusinessappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_mobile_app_relationship_item_request_builder.go index c002057f367..ffb9251cf9d 100644 --- a/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwin32lobappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_request_builder.go index cdc64ed7761..d267987bed2 100644 --- a/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwin32lobapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwin32lobappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwin32lobappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwin32lobappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwin32lobappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwin32lobappRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphwin32lobappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwin32lobappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwin32lobappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwin32lobappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwin32lobappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwin32lobappRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwin32lobappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwin32lobappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_mobile_app_relationship_item_request_builder.go index ce16c15da1c..717cf360331 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsappxRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_request_builder.go index e4fa21bde54..3d1b92af551 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsappx_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwindowsappxRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwindowsappxRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsappxRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsappxRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwindowsappxRelationshipsRequestBuilder(rawUrl string, func (m *MobileappsItemGraphwindowsappxRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwindowsappxRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwindowsappxRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsappxRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsappxRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwindowsappxRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsappxRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsappxRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_mobile_app_relationship_item_request_builder.go index 18503dcaea7..ff72c185226 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipIt } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsmobilemsiRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_request_builder.go index bbec4bb44ae..f0874e8b843 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsmobilemsi_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder(rawUrl st func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwindowsmobilemsiRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwindowsmobilemsiRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsmobilemsiRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_mobile_app_relationship_item_request_builder.go index 3e7c635e3a2..0da93ef9e57 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipIte } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsstoreappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_request_builder.go index b799ba30b67..cbb5b0d5372 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsstoreapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder(rawUrl str func (m *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwindowsstoreappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwindowsstoreappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsstoreappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_mobile_app_relationship_item_request_builder.go index a90451ae4e5..dd93dd4e712 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationsh } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsuniversalappxRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_request_builder.go index 6309051ad34..4aa77560d97 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowsuniversalappx_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder(rawUr func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwindowsuniversalappxRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwindowsuniversalappxRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowsuniversalappxRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_mobile_app_relationship_item_request_builder.go index 05f5ac7f2f7..5799c050e96 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemR } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowswebappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_request_builder.go index cbe8de74a80..8b136d21be0 100644 --- a/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwindowswebapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwindowswebappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwindowswebappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwindowswebappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwindowswebappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwindowswebappRelationshipsRequestBuilder(rawUrl strin func (m *MobileappsItemGraphwindowswebappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwindowswebappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwindowswebappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwindowswebappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowswebappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwindowswebappRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwindowswebappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwindowswebappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_mobile_app_relationship_item_request_builder.go index 76f34c9ccda..cc3e63cd509 100644 --- a/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwingetappRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_request_builder.go index cecf12ec200..be6c2f1c435 100644 --- a/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_graphwingetapp_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemGraphwingetappRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemGraphwingetappRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemGraphwingetappRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemGraphwingetappRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemGraphwingetappRelationshipsRequestBuilder(rawUrl string, r func (m *MobileappsItemGraphwingetappRelationshipsRequestBuilder) Count()(*MobileappsItemGraphwingetappRelationshipsCountRequestBuilder) { return NewMobileappsItemGraphwingetappRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemGraphwingetappRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemGraphwingetappRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemGraphwingetappRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemGraphwingetappRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemGraphwingetappRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobileapps_item_relationships_mobile_app_relationship_item_request_builder.go index 45acac254ba..c0cd2fb1b13 100644 --- a/deviceappmanagement/mobileapps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobileapps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Del } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobileapps_item_relationships_request_builder.go b/deviceappmanagement/mobileapps_item_relationships_request_builder.go index d4db49160b5..ef06dbc5573 100644 --- a/deviceappmanagement/mobileapps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobileapps_item_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileappsItemRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileappsItemRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileappsItemRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileappsItemRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileappsItemRelationshipsRequestBuilder(rawUrl string, requestAdapter func (m *MobileappsItemRelationshipsRequestBuilder) Count()(*MobileappsItemRelationshipsCountRequestBuilder) { return NewMobileappsItemRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileappsItemRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileappsItemRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileappsItemRelationshipsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileappsItemRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileappsItemRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/configurationpolicies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/configurationpolicies_device_management_configuration_policy_item_request_builder.go index 44bf5d0e248..2612722b089 100644 --- a/devicemanagement/configurationpolicies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/configurationpolicies_device_management_configuration_policy_item_request_builder.go @@ -46,16 +46,16 @@ type ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilderP func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Assign()(*ConfigurationpoliciesItemAssignRequestBuilder) { return NewConfigurationpoliciesItemAssignRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AssignJustInTimeConfiguration provides operations to call the assignJustInTimeConfiguration method. -// returns a *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder when successful -func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) AssignJustInTimeConfiguration()(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // Assignments provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. // returns a *ConfigurationpoliciesItemAssignmentsRequestBuilder when successful func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Assignments()(*ConfigurationpoliciesItemAssignmentsRequestBuilder) { return NewConfigurationpoliciesItemAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ClearEnrollmentTimeDeviceMembershipTarget provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. +// returns a *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) ClearEnrollmentTimeDeviceMembershipTarget()(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilderInternal instantiates a new ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder and sets the default values. func NewConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { m := &ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder{ @@ -135,10 +135,10 @@ func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuil func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Reorder()(*ConfigurationpoliciesItemReorderRequestBuilder) { return NewConfigurationpoliciesItemReorderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// RetrieveJustInTimeConfiguration provides operations to call the retrieveJustInTimeConfiguration method. -// returns a *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder when successful -func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) RetrieveJustInTimeConfiguration()(*ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - return NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// RetrieveEnrollmentTimeDeviceMembershipTarget provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. +// returns a *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ConfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) RetrieveEnrollmentTimeDeviceMembershipTarget()(*ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // RetrieveLatestUpgradeDefaultBaselinePolicy provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. // returns a *ConfigurationpoliciesItemRetrievelatestupgradedefaultbaselinepolicyRetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder when successful diff --git a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go b/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go deleted file mode 100644 index 4fd6164f10a..00000000000 --- a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go +++ /dev/null @@ -1,114 +0,0 @@ -package devicemanagement - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" -) - -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore -} -// NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody instantiates a new ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody and sets the default values. -func NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody()(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) { - m := &ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody{ - } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) - return m -} -// CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody(), nil -} -// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -// returns a map[string]any when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetAdditionalData()(map[string]any) { - val , err := m.backingStore.Get("additionalData") - if err != nil { - panic(err) - } - if val == nil { - var value = make(map[string]any); - m.SetAdditionalData(value); - } - return val.(map[string]any) -} -// GetBackingStore gets the BackingStore property value. Stores model information. -// returns a BackingStore when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - return m.backingStore -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["justInTimeAssignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetJustInTimeAssignments(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)) - } - return nil - } - return res -} -// GetJustInTimeAssignments gets the justInTimeAssignments property value. The justInTimeAssignments property -// returns a DeviceManagementConfigurationJustInTimeAssignmentPolicyable when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetJustInTimeAssignments()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) { - val, err := m.GetBackingStore().Get("justInTimeAssignments") - if err != nil { - panic(err) - } - if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) - } - return nil -} -// Serialize serializes information the current object -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteObjectValue("justInTimeAssignments", m.GetJustInTimeAssignments()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil -} -// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetAdditionalData(value map[string]any)() { - err := m.GetBackingStore().Set("additionalData", value) - if err != nil { - panic(err) - } -} -// SetBackingStore sets the BackingStore property value. Stores model information. -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} -// SetJustInTimeAssignments sets the justInTimeAssignments property value. The justInTimeAssignments property -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetJustInTimeAssignments(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)() { - err := m.GetBackingStore().Set("justInTimeAssignments", value) - if err != nil { - panic(err) - } -} -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetJustInTimeAssignments()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetJustInTimeAssignments(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)() -} diff --git a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go b/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go deleted file mode 100644 index 8d33711825b..00000000000 --- a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go +++ /dev/null @@ -1,113 +0,0 @@ -package devicemanagement - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" -) - -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore -} -// NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse instantiates a new ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse and sets the default values. -func NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse()(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) { - m := &ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse{ - } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) - return m -} -// CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse(), nil -} -// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -// returns a map[string]any when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetAdditionalData()(map[string]any) { - val , err := m.backingStore.Get("additionalData") - if err != nil { - panic(err) - } - if val == nil { - var value = make(map[string]any); - m.SetAdditionalData(value); - } - return val.(map[string]any) -} -// GetBackingStore gets the BackingStore property value. Stores model information. -// returns a BackingStore when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - return m.backingStore -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetValue(val) - } - return nil - } - return res -} -// GetValue gets the value property value. The value property -// returns a *bool when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetValue()(*bool) { - val, err := m.GetBackingStore().Get("value") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// Serialize serializes information the current object -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteBoolValue("value", m.GetValue()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil -} -// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetAdditionalData(value map[string]any)() { - err := m.GetBackingStore().Set("additionalData", value) - if err != nil { - panic(err) - } -} -// SetBackingStore sets the BackingStore property value. Stores model information. -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} -// SetValue sets the value property value. The value property -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetValue(value *bool)() { - err := m.GetBackingStore().Set("value", value) - if err != nil { - panic(err) - } -} -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(*bool) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value *bool)() -} diff --git a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go b/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go deleted file mode 100644 index efb2f6bb7f6..00000000000 --- a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go +++ /dev/null @@ -1,93 +0,0 @@ -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder provides operations to call the assignJustInTimeConfiguration method. -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal instantiates a new ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder and sets the default values. -func NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - m := &ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignJustInTimeConfiguration", pathParameters), - } - return m -} -// NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder instantiates a new ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder and sets the default values. -func NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(urlParams, requestAdapter) -} -// Post invoke action assignJustInTimeConfiguration -// Deprecated: This method is obsolete. Use PostAsAssignJustInTimeConfigurationPostResponse instead. -// returns a ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) Post(ctx context.Context, body ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable), nil -} -// PostAsAssignJustInTimeConfigurationPostResponse invoke action assignJustInTimeConfiguration -// returns a ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) PostAsAssignJustInTimeConfigurationPostResponse(ctx context.Context, body ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable), nil -} -// ToPostRequestInformation invoke action assignJustInTimeConfiguration -// returns a *RequestInformation when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder when successful -func (m *ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) WithUrl(rawUrl string)(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go b/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go deleted file mode 100644 index a82de7a9945..00000000000 --- a/devicemanagement/configurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go +++ /dev/null @@ -1,27 +0,0 @@ -package devicemanagement - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// Deprecated: This class is obsolete. Use ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable instead. -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse struct { - ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse -} -// NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse instantiates a new ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse and sets the default values. -func NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse()(*ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse) { - m := &ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse{ - ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse: *NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse(), - } - return m -} -// CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse(), nil -} -// Deprecated: This class is obsolete. Use ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable instead. -type ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable interface { - ConfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -} diff --git a/models/device_management_configuration_just_in_time_assignment_policy.go b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go similarity index 55% rename from models/device_management_configuration_just_in_time_assignment_policy.go rename to devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go index ee2d8f9d0c3..6ac0a207c66 100644 --- a/models/device_management_configuration_just_in_time_assignment_policy.go +++ b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go @@ -1,31 +1,30 @@ -package models +package devicemanagement import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -// DeviceManagementConfigurationJustInTimeAssignmentPolicy the DeviceManagementConfigurationJustInTimeAssignmentPolicy entity is used to create a just-in-time assignment of specific DeviceManagementConfigurationPolicy to an AAD group. -type DeviceManagementConfigurationJustInTimeAssignmentPolicy struct { +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } -// NewDeviceManagementConfigurationJustInTimeAssignmentPolicy instantiates a new DeviceManagementConfigurationJustInTimeAssignmentPolicy and sets the default values. -func NewDeviceManagementConfigurationJustInTimeAssignmentPolicy()(*DeviceManagementConfigurationJustInTimeAssignmentPolicy) { - m := &DeviceManagementConfigurationJustInTimeAssignmentPolicy{ +// NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse instantiates a new ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse and sets the default values. +func NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse()(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) { + m := &ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m } -// CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewDeviceManagementConfigurationJustInTimeAssignmentPolicy(), nil +func CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse(), nil } // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. // returns a map[string]any when successful -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) GetAdditionalData()(map[string]any) { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) @@ -38,41 +37,41 @@ func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) GetAdditionalD } // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() if err != nil { return err } if val != nil { - m.SetOdataType(val) + m.SetValue(val) } return nil } return res } -// GetOdataType gets the @odata.type property value. The OdataType property -// returns a *string when successful -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) GetOdataType()(*string) { - val, err := m.GetBackingStore().Get("odataType") +// GetValue gets the value property value. The value property +// returns a *bool when successful +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetValue()(*bool) { + val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(*string) + return val.(*bool) } return nil } // Serialize serializes information the current object -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { - err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + err := writer.WriteBoolValue("value", m.GetValue()) if err != nil { return err } @@ -86,29 +85,29 @@ func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) Serialize(writ return nil } // SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) SetAdditionalData(value map[string]any)() { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) if err != nil { panic(err) } } // SetBackingStore sets the BackingStore property value. Stores model information. -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetOdataType sets the @odata.type property value. The OdataType property -func (m *DeviceManagementConfigurationJustInTimeAssignmentPolicy) SetOdataType(value *string)() { - err := m.GetBackingStore().Set("odataType", value) +// SetValue sets the value property value. The value property +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetValue(value *bool)() { + err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -type DeviceManagementConfigurationJustInTimeAssignmentPolicyable interface { +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetOdataType()(*string) + GetValue()(*bool) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetOdataType(value *string)() + SetValue(value *bool)() } diff --git a/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go new file mode 100644 index 00000000000..1755eeed4d2 --- /dev/null +++ b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go @@ -0,0 +1,89 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal instantiates a new ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + m := &ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/clearEnrollmentTimeDeviceMembershipTarget", pathParameters), + } + return m +} +// NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder instantiates a new ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action clearEnrollmentTimeDeviceMembershipTarget +// Deprecated: This method is obsolete. Use PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse instead. +// returns a ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) Post(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable), nil +} +// PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse invoke action clearEnrollmentTimeDeviceMembershipTarget +// returns a ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable), nil +} +// ToPostRequestInformation invoke action clearEnrollmentTimeDeviceMembershipTarget +// returns a *RequestInformation when successful +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) WithUrl(rawUrl string)(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go new file mode 100644 index 00000000000..f1315a3d0d0 --- /dev/null +++ b/devicemanagement/configurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go @@ -0,0 +1,27 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable instead. +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse struct { + ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse +} +// NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse instantiates a new ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse and sets the default values. +func NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse()(*ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse) { + m := &ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse{ + ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse: *NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse(), + } + return m +} +// CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse(), nil +} +// Deprecated: This class is obsolete. Use ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable instead. +type ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable interface { + ConfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/devicemanagement/configurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go b/devicemanagement/configurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go new file mode 100644 index 00000000000..dd76d0d7710 --- /dev/null +++ b/devicemanagement/configurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go @@ -0,0 +1,69 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. +type ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal instantiates a new ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + m := &ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveEnrollmentTimeDeviceMembershipTarget", pathParameters), + } + return m +} +// NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder instantiates a new ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action retrieveEnrollmentTimeDeviceMembershipTarget +// returns a EnrollmentTimeDeviceMembershipTargetResultable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) Post(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EnrollmentTimeDeviceMembershipTargetResultable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEnrollmentTimeDeviceMembershipTargetResultFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EnrollmentTimeDeviceMembershipTargetResultable), nil +} +// ToPostRequestInformation invoke action retrieveEnrollmentTimeDeviceMembershipTarget +// returns a *RequestInformation when successful +func (m *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) WithUrl(rawUrl string)(*ConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewConfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go b/devicemanagement/configurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go deleted file mode 100644 index d4d3c36b123..00000000000 --- a/devicemanagement/configurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go +++ /dev/null @@ -1,69 +0,0 @@ -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder provides operations to call the retrieveJustInTimeConfiguration method. -type ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal instantiates a new ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder and sets the default values. -func NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - m := &ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveJustInTimeConfiguration", pathParameters), - } - return m -} -// NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder instantiates a new ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder and sets the default values. -func NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(urlParams, requestAdapter) -} -// Post invoke action retrieveJustInTimeConfiguration -// returns a DeviceManagementConfigurationJustInTimeAssignmentPolicyable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) Post(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable), nil -} -// ToPostRequestInformation invoke action retrieveJustInTimeConfiguration -// returns a *RequestInformation when successful -func (m *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder when successful -func (m *ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) WithUrl(rawUrl string)(*ConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - return NewConfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index 28c33b9c92b..95dd9313a08 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -332,6 +332,11 @@ func (m *DeviceManagementRequestBuilder) EnableLegacyPcManagement()(*Enablelegac func (m *DeviceManagementRequestBuilder) EnableUnlicensedAdminstrators()(*EnableunlicensedadminstratorsEnableUnlicensedAdminstratorsRequestBuilder) { return NewEnableunlicensedadminstratorsEnableUnlicensedAdminstratorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// EndpointPrivilegeManagementProvisioningStatus provides operations to manage the endpointPrivilegeManagementProvisioningStatus property of the microsoft.graph.deviceManagement entity. +// returns a *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder when successful +func (m *DeviceManagementRequestBuilder) EndpointPrivilegeManagementProvisioningStatus()(*EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) { + return NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // EvaluateAssignmentFilter provides operations to call the evaluateAssignmentFilter method. // returns a *EvaluateassignmentfilterEvaluateAssignmentFilterRequestBuilder when successful func (m *DeviceManagementRequestBuilder) EvaluateAssignmentFilter()(*EvaluateassignmentfilterEvaluateAssignmentFilterRequestBuilder) { @@ -457,6 +462,11 @@ func (m *DeviceManagementRequestBuilder) GroupPolicyUploadedDefinitionFiles()(*G func (m *DeviceManagementRequestBuilder) HardwareConfigurations()(*HardwareconfigurationsHardwareConfigurationsRequestBuilder) { return NewHardwareconfigurationsHardwareConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// HardwarePasswordDetails provides operations to manage the hardwarePasswordDetails property of the microsoft.graph.deviceManagement entity. +// returns a *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder when successful +func (m *DeviceManagementRequestBuilder) HardwarePasswordDetails()(*HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) { + return NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // HardwarePasswordInfo provides operations to manage the hardwarePasswordInfo property of the microsoft.graph.deviceManagement entity. // returns a *HardwarepasswordinfoHardwarePasswordInfoRequestBuilder when successful func (m *DeviceManagementRequestBuilder) HardwarePasswordInfo()(*HardwarepasswordinfoHardwarePasswordInfoRequestBuilder) { @@ -1021,6 +1031,11 @@ func (m *DeviceManagementRequestBuilder) WindowsInformationProtectionNetworkLear func (m *DeviceManagementRequestBuilder) WindowsMalwareInformation()(*WindowsmalwareinformationWindowsMalwareInformationRequestBuilder) { return NewWindowsmalwareinformationWindowsMalwareInformationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WindowsQualityUpdatePolicies provides operations to manage the windowsQualityUpdatePolicies property of the microsoft.graph.deviceManagement entity. +// returns a *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder when successful +func (m *DeviceManagementRequestBuilder) WindowsQualityUpdatePolicies()(*WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) { + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // WindowsQualityUpdateProfiles provides operations to manage the windowsQualityUpdateProfiles property of the microsoft.graph.deviceManagement entity. // returns a *WindowsqualityupdateprofilesWindowsQualityUpdateProfilesRequestBuilder when successful func (m *DeviceManagementRequestBuilder) WindowsQualityUpdateProfiles()(*WindowsqualityupdateprofilesWindowsQualityUpdateProfilesRequestBuilder) { diff --git a/devicemanagement/endpointprivilegemanagementprovisioningstatus_endpoint_privilege_management_provisioning_status_request_builder.go b/devicemanagement/endpointprivilegemanagementprovisioningstatus_endpoint_privilege_management_provisioning_status_request_builder.go new file mode 100644 index 00000000000..e4083293388 --- /dev/null +++ b/devicemanagement/endpointprivilegemanagementprovisioningstatus_endpoint_privilege_management_provisioning_status_request_builder.go @@ -0,0 +1,157 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder provides operations to manage the endpointPrivilegeManagementProvisioningStatus property of the microsoft.graph.deviceManagement entity. +type EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetQueryParameters endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +type EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetQueryParameters +} +// EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderInternal instantiates a new EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder and sets the default values. +func NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) { + m := &EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/endpointPrivilegeManagementProvisioningStatus{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder instantiates a new EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder and sets the default values. +func NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property endpointPrivilegeManagementProvisioningStatus for deviceManagement +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) Delete(ctx context.Context, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +// returns a EndpointPrivilegeManagementProvisioningStatusable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEndpointPrivilegeManagementProvisioningStatusFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable), nil +} +// Patch update the navigation property endpointPrivilegeManagementProvisioningStatus in deviceManagement +// returns a EndpointPrivilegeManagementProvisioningStatusable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEndpointPrivilegeManagementProvisioningStatusFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable), nil +} +// ToDeleteRequestInformation delete navigation property endpointPrivilegeManagementProvisioningStatus for deviceManagement +// returns a *RequestInformation when successful +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +// returns a *RequestInformation when successful +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property endpointPrivilegeManagementProvisioningStatus in deviceManagement +// returns a *RequestInformation when successful +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointPrivilegeManagementProvisioningStatusable, requestConfiguration *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder when successful +func (m *EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) WithUrl(rawUrl string)(*EndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder) { + return NewEndpointprivilegemanagementprovisioningstatusEndpointPrivilegeManagementProvisioningStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/hardwarepassworddetails_count_request_builder.go b/devicemanagement/hardwarepassworddetails_count_request_builder.go new file mode 100644 index 00000000000..171d7244683 --- /dev/null +++ b/devicemanagement/hardwarepassworddetails_count_request_builder.go @@ -0,0 +1,80 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// HardwarepassworddetailsCountRequestBuilder provides operations to count the resources in the collection. +type HardwarepassworddetailsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// HardwarepassworddetailsCountRequestBuilderGetQueryParameters get the number of the resource +type HardwarepassworddetailsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// HardwarepassworddetailsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *HardwarepassworddetailsCountRequestBuilderGetQueryParameters +} +// NewHardwarepassworddetailsCountRequestBuilderInternal instantiates a new HardwarepassworddetailsCountRequestBuilder and sets the default values. +func NewHardwarepassworddetailsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsCountRequestBuilder) { + m := &HardwarepassworddetailsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordDetails/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewHardwarepassworddetailsCountRequestBuilder instantiates a new HardwarepassworddetailsCountRequestBuilder and sets the default values. +func NewHardwarepassworddetailsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewHardwarepassworddetailsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwarepassworddetailsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwarepassworddetailsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *HardwarepassworddetailsCountRequestBuilder when successful +func (m *HardwarepassworddetailsCountRequestBuilder) WithUrl(rawUrl string)(*HardwarepassworddetailsCountRequestBuilder) { + return NewHardwarepassworddetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/hardwarepassworddetails_hardware_password_detail_item_request_builder.go b/devicemanagement/hardwarepassworddetails_hardware_password_detail_item_request_builder.go new file mode 100644 index 00000000000..f5d0ef61701 --- /dev/null +++ b/devicemanagement/hardwarepassworddetails_hardware_password_detail_item_request_builder.go @@ -0,0 +1,157 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder provides operations to manage the hardwarePasswordDetails property of the microsoft.graph.deviceManagement entity. +type HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetQueryParameters device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +type HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetQueryParameters +} +// HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderInternal instantiates a new HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder and sets the default values. +func NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) { + m := &HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordDetails/{hardwarePasswordDetail%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder instantiates a new HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder and sets the default values. +func NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property hardwarePasswordDetails for deviceManagement +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +// returns a HardwarePasswordDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwarePasswordDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable), nil +} +// Patch update the navigation property hardwarePasswordDetails in deviceManagement +// returns a HardwarePasswordDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwarePasswordDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable), nil +} +// ToDeleteRequestInformation delete navigation property hardwarePasswordDetails for deviceManagement +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hardwarePasswordDetails in deviceManagement +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) WithUrl(rawUrl string)(*HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) { + return NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/hardwarepassworddetails_hardware_password_details_request_builder.go b/devicemanagement/hardwarepassworddetails_hardware_password_details_request_builder.go new file mode 100644 index 00000000000..fa518a7847f --- /dev/null +++ b/devicemanagement/hardwarepassworddetails_hardware_password_details_request_builder.go @@ -0,0 +1,152 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder provides operations to manage the hardwarePasswordDetails property of the microsoft.graph.deviceManagement entity. +type HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetQueryParameters device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +type HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetQueryParameters +} +// HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByHardwarePasswordDetailId provides operations to manage the hardwarePasswordDetails property of the microsoft.graph.deviceManagement entity. +// returns a *HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) ByHardwarePasswordDetailId(hardwarePasswordDetailId string)(*HardwarepassworddetailsHardwarePasswordDetailItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hardwarePasswordDetailId != "" { + urlTplParams["hardwarePasswordDetail%2Did"] = hardwarePasswordDetailId + } + return NewHardwarepassworddetailsHardwarePasswordDetailItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilderInternal instantiates a new HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder and sets the default values. +func NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) { + m := &HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilder instantiates a new HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder and sets the default values. +func NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *HardwarepassworddetailsCountRequestBuilder when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) Count()(*HardwarepassworddetailsCountRequestBuilder) { + return NewHardwarepassworddetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +// returns a HardwarePasswordDetailCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwarePasswordDetailCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailCollectionResponseable), nil +} +// Post create new navigation property to hardwarePasswordDetails for deviceManagement +// returns a HardwarePasswordDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwarePasswordDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable), nil +} +// ToGetRequestInformation device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hardwarePasswordDetails for deviceManagement +// returns a *RequestInformation when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwarePasswordDetailable, requestConfiguration *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder when successful +func (m *HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) WithUrl(rawUrl string)(*HardwarepassworddetailsHardwarePasswordDetailsRequestBuilder) { + return NewHardwarepassworddetailsHardwarePasswordDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go b/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go index 7d538d89059..07857952417 100644 --- a/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go +++ b/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go @@ -18,7 +18,7 @@ type MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollect } return nil } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -126,7 +126,7 @@ func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollect requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go b/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go index de8d032e071..acd32b8080c 100644 --- a/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go +++ b/devicemanagement/mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollecti func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) Count()(*MobileapptroubleshootingeventsItemApplogcollectionrequestsCountRequestBuilder) { return NewMobileapptroubleshootingeventsItemApplogcollectionrequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollect } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/reports_request_builder.go b/devicemanagement/reports_request_builder.go index f15ed66d813..b00f6c6a7e8 100644 --- a/devicemanagement/reports_request_builder.go +++ b/devicemanagement/reports_request_builder.go @@ -470,6 +470,11 @@ func (m *ReportsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementReportsable), nil } +// RetrieveAssignedApplicationsReport provides operations to call the retrieveAssignedApplicationsReport method. +// returns a *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder when successful +func (m *ReportsRequestBuilder) RetrieveAssignedApplicationsReport()(*ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) { + return NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property reports for deviceManagement // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_post_request_body.go b/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_post_request_body.go new file mode 100644 index 00000000000..0123ce94c9b --- /dev/null +++ b/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_post_request_body.go @@ -0,0 +1,335 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody instantiates a new ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody and sets the default values. +func NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody()(*ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) { + m := &ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupby"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGroupby(val) + } + return nil + } + res["orderby"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOrderby(val) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSelectEscaped(val) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +// returns a *string when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupby gets the groupby property value. The groupby property +// returns a *string when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetGroupby()(*string) { + val, err := m.GetBackingStore().Get("groupby") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOrderby gets the orderby property value. The orderby property +// returns a *string when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetOrderby()(*string) { + val, err := m.GetBackingStore().Get("orderby") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSearch gets the search property value. The search property +// returns a *string when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +// returns a *string when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetSelectEscaped()(*string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +// returns a *int32 when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +// returns a *int32 when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("groupby", m.GetGroupby()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("orderby", m.GetOrderby()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupby sets the groupby property value. The groupby property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetGroupby(value *string)() { + err := m.GetBackingStore().Set("groupby", value) + if err != nil { + panic(err) + } +} +// SetOrderby sets the orderby property value. The orderby property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetOrderby(value *string)() { + err := m.GetBackingStore().Set("orderby", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetSelectEscaped(value *string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +type ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupby()(*string) + GetOrderby()(*string) + GetSearch()(*string) + GetSelectEscaped()(*string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupby(value *string)() + SetOrderby(value *string)() + SetSearch(value *string)() + SetSelectEscaped(value *string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_request_builder.go b/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_request_builder.go new file mode 100644 index 00000000000..e907535cc81 --- /dev/null +++ b/devicemanagement/reports_retrieveassignedapplicationsreport_retrieve_assigned_applications_report_request_builder.go @@ -0,0 +1,72 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder provides operations to call the retrieveAssignedApplicationsReport method. +type ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderInternal instantiates a new ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder and sets the default values. +func NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) { + m := &ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveAssignedApplicationsReport", pathParameters), + } + return m +} +// NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder instantiates a new ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder and sets the default values. +func NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Post retrieves assigned applications report for troubleshooting blade +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) Post(ctx context.Context, body ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBodyable, requestConfiguration *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation retrieves assigned applications report for troubleshooting blade +// returns a *RequestInformation when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportPostRequestBodyable, requestConfiguration *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder when successful +func (m *ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder) { + return NewReportsRetrieveassignedapplicationsreportRetrieveAssignedApplicationsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_device_management_configuration_policy_item_request_builder.go index 5323f171cf0..b9a451024d3 100644 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_device_management_configuration_policy_item_request_builder.go @@ -46,16 +46,16 @@ type ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementC func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Assign()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignRequestBuilder) { return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AssignJustInTimeConfiguration provides operations to call the assignJustInTimeConfiguration method. -// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) AssignJustInTimeConfiguration()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // Assignments provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. // returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignmentsRequestBuilder when successful func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Assignments()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignmentsRequestBuilder) { return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ClearEnrollmentTimeDeviceMembershipTarget provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. +// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) ClearEnrollmentTimeDeviceMembershipTarget()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilderInternal instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder and sets the default values. func NewReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder{ @@ -135,10 +135,10 @@ func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagem func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) Reorder()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemReorderRequestBuilder) { return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemReorderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// RetrieveJustInTimeConfiguration provides operations to call the retrieveJustInTimeConfiguration method. -// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) RetrieveJustInTimeConfiguration()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// RetrieveEnrollmentTimeDeviceMembershipTarget provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. +// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) RetrieveEnrollmentTimeDeviceMembershipTarget()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // RetrieveLatestUpgradeDefaultBaselinePolicy provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. // returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievelatestupgradedefaultbaselinepolicyRetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder when successful diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go deleted file mode 100644 index f0298266d57..00000000000 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_request_body.go +++ /dev/null @@ -1,114 +0,0 @@ -package devicemanagement - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" -) - -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) { - m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody{ - } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) - return m -} -// CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody(), nil -} -// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -// returns a map[string]any when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetAdditionalData()(map[string]any) { - val , err := m.backingStore.Get("additionalData") - if err != nil { - panic(err) - } - if val == nil { - var value = make(map[string]any); - m.SetAdditionalData(value); - } - return val.(map[string]any) -} -// GetBackingStore gets the BackingStore property value. Stores model information. -// returns a BackingStore when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - return m.backingStore -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["justInTimeAssignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetJustInTimeAssignments(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)) - } - return nil - } - return res -} -// GetJustInTimeAssignments gets the justInTimeAssignments property value. The justInTimeAssignments property -// returns a DeviceManagementConfigurationJustInTimeAssignmentPolicyable when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) GetJustInTimeAssignments()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) { - val, err := m.GetBackingStore().Get("justInTimeAssignments") - if err != nil { - panic(err) - } - if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) - } - return nil -} -// Serialize serializes information the current object -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteObjectValue("justInTimeAssignments", m.GetJustInTimeAssignments()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil -} -// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetAdditionalData(value map[string]any)() { - err := m.GetBackingStore().Set("additionalData", value) - if err != nil { - panic(err) - } -} -// SetBackingStore sets the BackingStore property value. Stores model information. -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} -// SetJustInTimeAssignments sets the justInTimeAssignments property value. The justInTimeAssignments property -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBody) SetJustInTimeAssignments(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)() { - err := m.GetBackingStore().Set("justInTimeAssignments", value) - if err != nil { - panic(err) - } -} -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetJustInTimeAssignments()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetJustInTimeAssignments(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable)() -} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go deleted file mode 100644 index aa1a948c40f..00000000000 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_request_builder.go +++ /dev/null @@ -1,93 +0,0 @@ -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder provides operations to call the assignJustInTimeConfiguration method. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignJustInTimeConfiguration", pathParameters), - } - return m -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderInternal(urlParams, requestAdapter) -} -// Post invoke action assignJustInTimeConfiguration -// Deprecated: This method is obsolete. Use PostAsAssignJustInTimeConfigurationPostResponse instead. -// returns a ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) Post(ctx context.Context, body ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable), nil -} -// PostAsAssignJustInTimeConfigurationPostResponse invoke action assignJustInTimeConfiguration -// returns a ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) PostAsAssignJustInTimeConfigurationPostResponse(ctx context.Context, body ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable), nil -} -// ToPostRequestInformation invoke action assignJustInTimeConfiguration -// returns a *RequestInformation when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostRequestBodyable, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) WithUrl(rawUrl string)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go deleted file mode 100644 index 543c96ff9d5..00000000000 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_response.go +++ /dev/null @@ -1,27 +0,0 @@ -package devicemanagement - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// Deprecated: This class is obsolete. Use ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable instead. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse struct { - ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse) { - m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse{ - ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse: *NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse(), - } - return m -} -// CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponse(), nil -} -// Deprecated: This class is obsolete. Use ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable instead. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable -} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go similarity index 61% rename from devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go rename to devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go index 1a08e9a140b..3c2dfe05f1f 100644 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_assignjustintimeconfiguration_assign_just_in_time_configuration_post_response.go +++ b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_post_response.go @@ -5,26 +5,26 @@ import ( ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse struct { +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) { - m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse{ +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) { + m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m } -// CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse(), nil +func CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse(), nil } // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. // returns a map[string]any when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetAdditionalData()(map[string]any) { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) @@ -37,12 +37,12 @@ func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjus } // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() @@ -58,7 +58,7 @@ func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjus } // GetValue gets the value property value. The value property // returns a *bool when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) GetValue()(*bool) { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) GetValue()(*bool) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) @@ -69,7 +69,7 @@ func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjus return nil } // Serialize serializes information the current object -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { err := writer.WriteBoolValue("value", m.GetValue()) if err != nil { @@ -85,24 +85,24 @@ func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjus return nil } // SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetAdditionalData(value map[string]any)() { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) if err != nil { panic(err) } } // SetBackingStore sets the BackingStore property value. Stores model information. -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponse) SetValue(value *bool)() { +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse) SetValue(value *bool)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemAssignjustintimeconfigurationAssignJustInTimeConfigurationPostResponseable interface { +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go new file mode 100644 index 00000000000..9ab4c2c8513 --- /dev/null +++ b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_request_builder.go @@ -0,0 +1,89 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/clearEnrollmentTimeDeviceMembershipTarget", pathParameters), + } + return m +} +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action clearEnrollmentTimeDeviceMembershipTarget +// Deprecated: This method is obsolete. Use PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse instead. +// returns a ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) Post(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable), nil +} +// PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse invoke action clearEnrollmentTimeDeviceMembershipTarget +// returns a ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) PostAsClearEnrollmentTimeDeviceMembershipTargetPostResponse(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable), nil +} +// ToPostRequestInformation invoke action clearEnrollmentTimeDeviceMembershipTarget +// returns a *RequestInformation when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) WithUrl(rawUrl string)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go new file mode 100644 index 00000000000..30c6a5f6a1a --- /dev/null +++ b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_clearenrollmenttimedevicemembershiptarget_clear_enrollment_time_device_membership_target_response.go @@ -0,0 +1,27 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable instead. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse struct { + ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse +} +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse()(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse) { + m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse{ + ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse: *NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponse(), + } + return m +} +// CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponse(), nil +} +// Deprecated: This class is obsolete. Use ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable instead. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ReusablepolicysettingsItemReferencingconfigurationpoliciesItemClearenrollmenttimedevicemembershiptargetClearEnrollmentTimeDeviceMembershipTargetPostResponseable +} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go new file mode 100644 index 00000000000..e441749a1cd --- /dev/null +++ b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrieveenrollmenttimedevicemembershiptarget_retrieve_enrollment_time_device_membership_target_request_builder.go @@ -0,0 +1,69 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveEnrollmentTimeDeviceMembershipTarget", pathParameters), + } + return m +} +// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. +func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action retrieveEnrollmentTimeDeviceMembershipTarget +// returns a EnrollmentTimeDeviceMembershipTargetResultable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) Post(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EnrollmentTimeDeviceMembershipTargetResultable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEnrollmentTimeDeviceMembershipTargetResultFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EnrollmentTimeDeviceMembershipTargetResultable), nil +} +// ToPostRequestInformation invoke action retrieveEnrollmentTimeDeviceMembershipTarget +// returns a *RequestInformation when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder when successful +func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) WithUrl(rawUrl string)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder) { + return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrieveenrollmenttimedevicemembershiptargetRetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go b/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go deleted file mode 100644 index e9c63fd2c1b..00000000000 --- a/devicemanagement/reusablepolicysettings_item_referencingconfigurationpolicies_item_retrievejustintimeconfiguration_retrieve_just_in_time_configuration_request_builder.go +++ /dev/null @@ -1,69 +0,0 @@ -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder provides operations to call the retrieveJustInTimeConfiguration method. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - m := &ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveJustInTimeConfiguration", pathParameters), - } - return m -} -// NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder instantiates a new ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder and sets the default values. -func NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderInternal(urlParams, requestAdapter) -} -// Post invoke action retrieveJustInTimeConfiguration -// returns a DeviceManagementConfigurationJustInTimeAssignmentPolicyable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) Post(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDeviceManagementConfigurationJustInTimeAssignmentPolicyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceManagementConfigurationJustInTimeAssignmentPolicyable), nil -} -// ToPostRequestInformation invoke action retrieveJustInTimeConfiguration -// returns a *RequestInformation when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder when successful -func (m *ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) WithUrl(rawUrl string)(*ReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder) { - return NewReusablepolicysettingsItemReferencingconfigurationpoliciesItemRetrievejustintimeconfigurationRetrieveJustInTimeConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/devicemanagement/virtualendpoint_cloudpcs_bulkresize_bulk_resize_request_builder.go b/devicemanagement/virtualendpoint_cloudpcs_bulkresize_bulk_resize_request_builder.go index 6d206909ef4..aaf73658da4 100644 --- a/devicemanagement/virtualendpoint_cloudpcs_bulkresize_bulk_resize_request_builder.go +++ b/devicemanagement/virtualendpoint_cloudpcs_bulkresize_bulk_resize_request_builder.go @@ -30,7 +30,7 @@ func NewVirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewVirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// Post perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: This method is obsolete. Use PostAsBulkResizePostResponse instead. // returns a VirtualendpointCloudpcsBulkresizeBulkResizeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -54,7 +54,7 @@ func (m *VirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilder) Post(ctx con } return res.(VirtualendpointCloudpcsBulkresizeBulkResizeResponseable), nil } -// PostAsBulkResizePostResponse perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// PostAsBulkResizePostResponse perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize // returns a VirtualendpointCloudpcsBulkresizeBulkResizePostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -78,7 +78,7 @@ func (m *VirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilder) PostAsBulkRe } return res.(VirtualendpointCloudpcsBulkresizeBulkResizePostResponseable), nil } -// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize // returns a *RequestInformation when successful func (m *VirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualendpointCloudpcsBulkresizeBulkResizePostRequestBodyable, requestConfiguration *VirtualendpointCloudpcsBulkresizeBulkResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtualendpoint_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go b/devicemanagement/virtualendpoint_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go index bf40b60d1f5..4418fabf5aa 100644 --- a/devicemanagement/virtualendpoint_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go +++ b/devicemanagement/virtualendpoint_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go @@ -30,8 +30,11 @@ func NewVirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewVirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action createSnapshot +// Post create a snapshot for a specific Cloud PC device. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-createsnapshot?view=graph-rest-beta func (m *VirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *VirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) } return nil } -// ToPostRequestInformation invoke action createSnapshot +// ToPostRequestInformation create a snapshot for a specific Cloud PC device. // returns a *RequestInformation when successful func (m *VirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualendpointCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtualendpoint_cloudpcs_item_resize_request_builder.go b/devicemanagement/virtualendpoint_cloudpcs_item_resize_request_builder.go index d82336158d9..22d40361318 100644 --- a/devicemanagement/virtualendpoint_cloudpcs_item_resize_request_builder.go +++ b/devicemanagement/virtualendpoint_cloudpcs_item_resize_request_builder.go @@ -30,8 +30,11 @@ func NewVirtualendpointCloudpcsItemResizeRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewVirtualendpointCloudpcsItemResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action resize +// Post upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-resize?view=graph-rest-beta func (m *VirtualendpointCloudpcsItemResizeRequestBuilder) Post(ctx context.Context, body VirtualendpointCloudpcsItemResizePostRequestBodyable, requestConfiguration *VirtualendpointCloudpcsItemResizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *VirtualendpointCloudpcsItemResizeRequestBuilder) Post(ctx context.Conte } return nil } -// ToPostRequestInformation invoke action resize +// ToPostRequestInformation upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. // returns a *RequestInformation when successful func (m *VirtualendpointCloudpcsItemResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualendpointCloudpcsItemResizePostRequestBodyable, requestConfiguration *VirtualendpointCloudpcsItemResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/windowsqualityupdatepolicies_count_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_count_request_builder.go new file mode 100644 index 00000000000..78dab7a26f8 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesCountRequestBuilder provides operations to count the resources in the collection. +type WindowsqualityupdatepoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsqualityupdatepoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsqualityupdatepoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesCountRequestBuilderGetQueryParameters +} +// NewWindowsqualityupdatepoliciesCountRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesCountRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesCountRequestBuilder) { + m := &WindowsqualityupdatepoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesCountRequestBuilder instantiates a new WindowsqualityupdatepoliciesCountRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesCountRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesCountRequestBuilder) { + return NewWindowsqualityupdatepoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_item_assign_post_request_body.go b/devicemanagement/windowsqualityupdatepolicies_item_assign_post_request_body.go new file mode 100644 index 00000000000..fb30eeae714 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_item_assign_post_request_body.go @@ -0,0 +1,126 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WindowsqualityupdatepoliciesItemAssignPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWindowsqualityupdatepoliciesItemAssignPostRequestBody instantiates a new WindowsqualityupdatepoliciesItemAssignPostRequestBody and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignPostRequestBody()(*WindowsqualityupdatepoliciesItemAssignPostRequestBody) { + m := &WindowsqualityupdatepoliciesItemAssignPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWindowsqualityupdatepoliciesItemAssignPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWindowsqualityupdatepoliciesItemAssignPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsqualityupdatepoliciesItemAssignPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAssignments gets the assignments property value. The assignments property +// returns a []WindowsQualityUpdatePolicyAssignmentable when successful +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) GetAssignments()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable) + } + } + m.SetAssignments(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAssignments sets the assignments property value. The assignments property +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) SetAssignments(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *WindowsqualityupdatepoliciesItemAssignPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +type WindowsqualityupdatepoliciesItemAssignPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignments()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + SetAssignments(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() +} diff --git a/devicemanagement/windowsqualityupdatepolicies_item_assign_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_item_assign_request_builder.go new file mode 100644 index 00000000000..10d187e9e63 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_item_assign_request_builder.go @@ -0,0 +1,68 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesItemAssignRequestBuilder provides operations to call the assign method. +type WindowsqualityupdatepoliciesItemAssignRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesItemAssignRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsqualityupdatepoliciesItemAssignRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesItemAssignRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignRequestBuilder) { + m := &WindowsqualityupdatepoliciesItemAssignRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/assign", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesItemAssignRequestBuilder instantiates a new WindowsqualityupdatepoliciesItemAssignRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesItemAssignRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action assign +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignRequestBuilder) Post(ctx context.Context, body WindowsqualityupdatepoliciesItemAssignPostRequestBodyable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action assign +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body WindowsqualityupdatepoliciesItemAssignPostRequestBodyable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesItemAssignRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesItemAssignRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_item_assignments_count_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_item_assignments_count_request_builder.go new file mode 100644 index 00000000000..1f5d627bd9a --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_item_assignments_count_request_builder.go @@ -0,0 +1,80 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder provides operations to count the resources in the collection. +type WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetQueryParameters +} +// NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) { + m := &WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/assignments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder instantiates a new WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_item_assignments_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_item_assignments_request_builder.go new file mode 100644 index 00000000000..972388aeac3 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_item_assignments_request_builder.go @@ -0,0 +1,152 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdatePolicy entity. +type WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetQueryParameters list of the groups this profile is assgined to. +type WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetQueryParameters +} +// WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWindowsQualityUpdatePolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdatePolicy entity. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) ByWindowsQualityUpdatePolicyAssignmentId(windowsQualityUpdatePolicyAssignmentId string)(*WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if windowsQualityUpdatePolicyAssignmentId != "" { + urlTplParams["windowsQualityUpdatePolicyAssignment%2Did"] = windowsQualityUpdatePolicyAssignmentId + } + return NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) { + m := &WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilder instantiates a new WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) Count()(*WindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list of the groups this profile is assgined to. +// returns a WindowsQualityUpdatePolicyAssignmentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyAssignmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentCollectionResponseable), nil +} +// Post create new navigation property to assignments for deviceManagement +// returns a WindowsQualityUpdatePolicyAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable), nil +} +// ToGetRequestInformation list of the groups this profile is assgined to. +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to assignments for deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_item_assignments_windows_quality_update_policy_assignment_item_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_item_assignments_windows_quality_update_policy_assignment_item_request_builder.go new file mode 100644 index 00000000000..6a4802653b7 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_item_assignments_windows_quality_update_policy_assignment_item_request_builder.go @@ -0,0 +1,157 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdatePolicy entity. +type WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetQueryParameters list of the groups this profile is assgined to. +type WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetQueryParameters +} +// WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) { + m := &WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/assignments/{windowsQualityUpdatePolicyAssignment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder instantiates a new WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property assignments for deviceManagement +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of the groups this profile is assgined to. +// returns a WindowsQualityUpdatePolicyAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable), nil +} +// Patch update the navigation property assignments in deviceManagement +// returns a WindowsQualityUpdatePolicyAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable), nil +} +// ToDeleteRequestInformation delete navigation property assignments for deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of the groups this profile is assgined to. +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property assignments in deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyAssignmentable, requestConfiguration *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignmentsWindowsQualityUpdatePolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policies_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policies_request_builder.go new file mode 100644 index 00000000000..0b5e8dbe141 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policies_request_builder.go @@ -0,0 +1,152 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder provides operations to manage the windowsQualityUpdatePolicies property of the microsoft.graph.deviceManagement entity. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetQueryParameters a collection of Windows quality update policies +type WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetQueryParameters +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWindowsQualityUpdatePolicyId provides operations to manage the windowsQualityUpdatePolicies property of the microsoft.graph.deviceManagement entity. +// returns a *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) ByWindowsQualityUpdatePolicyId(windowsQualityUpdatePolicyId string)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if windowsQualityUpdatePolicyId != "" { + urlTplParams["windowsQualityUpdatePolicy%2Did"] = windowsQualityUpdatePolicyId + } + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) { + m := &WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder instantiates a new WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsqualityupdatepoliciesCountRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) Count()(*WindowsqualityupdatepoliciesCountRequestBuilder) { + return NewWindowsqualityupdatepoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of Windows quality update policies +// returns a WindowsQualityUpdatePolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyCollectionResponseable), nil +} +// Post create new navigation property to windowsQualityUpdatePolicies for deviceManagement +// returns a WindowsQualityUpdatePolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable), nil +} +// ToGetRequestInformation a collection of Windows quality update policies +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to windowsQualityUpdatePolicies for deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder) { + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policy_item_request_builder.go b/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policy_item_request_builder.go new file mode 100644 index 00000000000..5ec1f1e0418 --- /dev/null +++ b/devicemanagement/windowsqualityupdatepolicies_windows_quality_update_policy_item_request_builder.go @@ -0,0 +1,167 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder provides operations to manage the windowsQualityUpdatePolicies property of the microsoft.graph.deviceManagement entity. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters a collection of Windows quality update policies +type WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters +} +// WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Assign provides operations to call the assign method. +// returns a *WindowsqualityupdatepoliciesItemAssignRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) Assign()(*WindowsqualityupdatepoliciesItemAssignRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Assignments provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdatePolicy entity. +// returns a *WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) Assignments()(*WindowsqualityupdatepoliciesItemAssignmentsRequestBuilder) { + return NewWindowsqualityupdatepoliciesItemAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderInternal instantiates a new WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) { + m := &WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder instantiates a new WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder and sets the default values. +func NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property windowsQualityUpdatePolicies for deviceManagement +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of Windows quality update policies +// returns a WindowsQualityUpdatePolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable), nil +} +// Patch update the navigation property windowsQualityUpdatePolicies in deviceManagement +// returns a WindowsQualityUpdatePolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsQualityUpdatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable), nil +} +// ToDeleteRequestInformation delete navigation property windowsQualityUpdatePolicies for deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of Windows quality update policies +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property windowsQualityUpdatePolicies in deviceManagement +// returns a *RequestInformation when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsQualityUpdatePolicyable, requestConfiguration *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder when successful +func (m *WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) WithUrl(rawUrl string)(*WindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder) { + return NewWindowsqualityupdatepoliciesWindowsQualityUpdatePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/devicelocalcredentials_device_local_credential_info_item_request_builder.go b/directory/devicelocalcredentials_device_local_credential_info_item_request_builder.go index 1b8aa7ec090..a17d45ed1e4 100644 --- a/directory/devicelocalcredentials_device_local_credential_info_item_request_builder.go +++ b/directory/devicelocalcredentials_device_local_credential_info_item_request_builder.go @@ -20,6 +20,8 @@ type DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderDeleteRequ } // DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters retrieve the properties of a deviceLocalCredentialInfo for a specified device object. type DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderPatchReque // NewDevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderInternal instantiates a new DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilder and sets the default values. func NewDevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilder) { m := &DevicelocalcredentialsDeviceLocalCredentialInfoItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/directory/devicelocalcredentials_device_local_credentials_request_builder.go b/directory/devicelocalcredentials_device_local_credentials_request_builder.go index af67e0f0988..4e20ef7a3d4 100644 --- a/directory/devicelocalcredentials_device_local_credentials_request_builder.go +++ b/directory/devicelocalcredentials_device_local_credentials_request_builder.go @@ -15,6 +15,8 @@ type DevicelocalcredentialsDeviceLocalCredentialsRequestBuilder struct { type DevicelocalcredentialsDeviceLocalCredentialsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *DevicelocalcredentialsDeviceLocalCredentialsRequestBuilder) ByDeviceLoc // NewDevicelocalcredentialsDeviceLocalCredentialsRequestBuilderInternal instantiates a new DevicelocalcredentialsDeviceLocalCredentialsRequestBuilder and sets the default values. func NewDevicelocalcredentialsDeviceLocalCredentialsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DevicelocalcredentialsDeviceLocalCredentialsRequestBuilder) { m := &DevicelocalcredentialsDeviceLocalCredentialsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/domains/domain_item_request_builder.go b/domains/domain_item_request_builder.go index c37b61edb80..482ff5ec65c 100644 --- a/domains/domain_item_request_builder.go +++ b/domains/domain_item_request_builder.go @@ -144,6 +144,11 @@ func (m *DomainItemRequestBuilder) Promote()(*ItemPromoteRequestBuilder) { func (m *DomainItemRequestBuilder) PromoteToInitial()(*ItemPromotetoinitialPromoteToInitialRequestBuilder) { return NewItemPromotetoinitialPromoteToInitialRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RootDomain provides operations to manage the rootDomain property of the microsoft.graph.domain entity. +// returns a *ItemRootdomainRootDomainRequestBuilder when successful +func (m *DomainItemRequestBuilder) RootDomain()(*ItemRootdomainRootDomainRequestBuilder) { + return NewItemRootdomainRootDomainRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ServiceConfigurationRecords provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. // returns a *ItemServiceconfigurationrecordsServiceConfigurationRecordsRequestBuilder when successful func (m *DomainItemRequestBuilder) ServiceConfigurationRecords()(*ItemServiceconfigurationrecordsServiceConfigurationRecordsRequestBuilder) { diff --git a/domains/item_rootdomain_root_domain_request_builder.go b/domains/item_rootdomain_root_domain_request_builder.go new file mode 100644 index 00000000000..8a71d1ee3aa --- /dev/null +++ b/domains/item_rootdomain_root_domain_request_builder.go @@ -0,0 +1,84 @@ +package domains + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemRootdomainRootDomainRequestBuilder provides operations to manage the rootDomain property of the microsoft.graph.domain entity. +type ItemRootdomainRootDomainRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemRootdomainRootDomainRequestBuilderGetQueryParameters get the root domain of a subdomain.The API returns a single object which is the root domain of the specified subdomain. +type ItemRootdomainRootDomainRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemRootdomainRootDomainRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemRootdomainRootDomainRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemRootdomainRootDomainRequestBuilderGetQueryParameters +} +// NewItemRootdomainRootDomainRequestBuilderInternal instantiates a new ItemRootdomainRootDomainRequestBuilder and sets the default values. +func NewItemRootdomainRootDomainRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRootdomainRootDomainRequestBuilder) { + m := &ItemRootdomainRootDomainRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemRootdomainRootDomainRequestBuilder instantiates a new ItemRootdomainRootDomainRequestBuilder and sets the default values. +func NewItemRootdomainRootDomainRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRootdomainRootDomainRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemRootdomainRootDomainRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the root domain of a subdomain.The API returns a single object which is the root domain of the specified subdomain. +// returns a Domainable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list-rootdomain?view=graph-rest-beta +func (m *ItemRootdomainRootDomainRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootdomainRootDomainRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDomainFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable), nil +} +// ToGetRequestInformation get the root domain of a subdomain.The API returns a single object which is the root domain of the specified subdomain. +// returns a *RequestInformation when successful +func (m *ItemRootdomainRootDomainRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRootdomainRootDomainRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemRootdomainRootDomainRequestBuilder when successful +func (m *ItemRootdomainRootDomainRequestBuilder) WithUrl(rawUrl string)(*ItemRootdomainRootDomainRequestBuilder) { + return NewItemRootdomainRootDomainRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_copy_post_request_body.go b/drives/item_items_item_copy_post_request_body.go index 0c6934c7ba1..28f97dfa2ae 100644 --- a/drives/item_items_item_copy_post_request_body.go +++ b/drives/item_items_item_copy_post_request_body.go @@ -41,10 +41,32 @@ func (m *ItemItemsItemCopyPostRequestBody) GetAdditionalData()(map[string]any) { func (m *ItemItemsItemCopyPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetChildrenOnly gets the childrenOnly property value. The childrenOnly property +// returns a *bool when successful +func (m *ItemItemsItemCopyPostRequestBody) GetChildrenOnly()(*bool) { + val, err := m.GetBackingStore().Get("childrenOnly") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ItemItemsItemCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["childrenOnly"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetChildrenOnly(val) + } + return nil + } res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -93,6 +115,12 @@ func (m *ItemItemsItemCopyPostRequestBody) GetParentReference()(ie233ee762e29b4b } // Serialize serializes information the current object func (m *ItemItemsItemCopyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("childrenOnly", m.GetChildrenOnly()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("name", m.GetName()) if err != nil { @@ -124,6 +152,13 @@ func (m *ItemItemsItemCopyPostRequestBody) SetAdditionalData(value map[string]an func (m *ItemItemsItemCopyPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetChildrenOnly sets the childrenOnly property value. The childrenOnly property +func (m *ItemItemsItemCopyPostRequestBody) SetChildrenOnly(value *bool)() { + err := m.GetBackingStore().Set("childrenOnly", value) + if err != nil { + panic(err) + } +} // SetName sets the name property value. The name property func (m *ItemItemsItemCopyPostRequestBody) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) @@ -143,9 +178,11 @@ type ItemItemsItemCopyPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetChildrenOnly()(*bool) GetName()(*string) GetParentReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetChildrenOnly(value *bool)() SetName(value *string)() SetParentReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable)() } diff --git a/drives/item_items_item_copy_request_builder.go b/drives/item_items_item_copy_request_builder.go index a6a72425eb6..40e6e3c1057 100644 --- a/drives/item_items_item_copy_request_builder.go +++ b/drives/item_items_item_copy_request_builder.go @@ -31,7 +31,7 @@ func NewItemItemsItemCopyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemCopyRequestBuilderInternal(urlParams, requestAdapter) } -// Post asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// Post asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ItemItemsItemCopyRequestBuilder) Post(ctx context.Context, body ItemIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToPostRequestInformation asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// ToPostRequestInformation asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a *RequestInformation when successful func (m *ItemItemsItemCopyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemCopyPostRequestBodyable, requestConfiguration *ItemItemsItemCopyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_retentionlabel_retention_label_request_builder.go b/drives/item_items_item_retentionlabel_retention_label_request_builder.go index b3295af0d55..54d3b5ed2e1 100644 --- a/drives/item_items_item_retentionlabel_retention_label_request_builder.go +++ b/drives/item_items_item_retentionlabel_retention_label_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemItemsItemRetentionlabelRetentionLabelRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// Patch 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. +// Patch 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. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta func (m *ItemItemsItemRetentionlabelRetentionLabelRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionlabelRetentionLabelRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemItemsItemRetentionlabelRetentionLabelRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation 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. +// ToPatchRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionlabelRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionlabelRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_functions_abs_post_request_body.go b/drives/item_items_item_workbook_functions_abs_post_request_body.go index 498ee4c36ad..6dbc35bcd74 100644 --- a/drives/item_items_item_workbook_functions_abs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_abs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAbsPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_accrint_accr_int_post_request_body.go b/drives/item_items_item_workbook_functions_accrint_accr_int_post_request_body.go index b3102417de4..d78455af799 100644 --- a/drives/item_items_item_workbook_functions_accrint_accr_int_post_request_body.go +++ b/drives/item_items_item_workbook_functions_accrint_accr_int_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBacking return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCalcMethod gets the calcMethod property value. The calcMethod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("calcMethod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,156 +69,156 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMet func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["calcMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCalcMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCalcMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstInterest gets the firstInterest property value. The firstInterest property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBacking m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCalcMethod sets the calcMethod property value. The calcMethod property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("calcMethod", value) if err != nil { panic(err) } } // SetFirstInterest sets the firstInterest property value. The firstInterest property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstInterest", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type ItemItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go b/drives/item_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go index d2e6bd548ba..a9e174f4d29 100644 --- a/drives/item_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go +++ b/drives/item_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_acos_post_request_body.go b/drives/item_items_item_workbook_functions_acos_post_request_body.go index 6bc266cd614..54d54279d62 100644 --- a/drives/item_items_item_workbook_functions_acos_post_request_body.go +++ b/drives/item_items_item_workbook_functions_acos_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAcosPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_acosh_post_request_body.go b/drives/item_items_item_workbook_functions_acosh_post_request_body.go index f3be8822d41..eaec5695f58 100644 --- a/drives/item_items_item_workbook_functions_acosh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_acosh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAcoshPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_acot_post_request_body.go b/drives/item_items_item_workbook_functions_acot_post_request_body.go index b16606f8737..a1b46b8b7dc 100644 --- a/drives/item_items_item_workbook_functions_acot_post_request_body.go +++ b/drives/item_items_item_workbook_functions_acot_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAcotPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_acoth_post_request_body.go b/drives/item_items_item_workbook_functions_acoth_post_request_body.go index e7affbef5eb..ee032cfbbad 100644 --- a/drives/item_items_item_workbook_functions_acoth_post_request_body.go +++ b/drives/item_items_item_workbook_functions_acoth_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAcothPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go b/drives/item_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go index 99f8ebb66a4..9fdc704a165 100644 --- a/drives/item_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDat func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type ItemItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go b/drives/item_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go index 5c7b6b99e8d..1f32ced9a93 100644 --- a/drives/item_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDateP func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type ItemItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_and_post_request_body.go b/drives/item_items_item_workbook_functions_and_post_request_body.go index 2846f43039f..e562cdf0f21 100644 --- a/drives/item_items_item_workbook_functions_and_post_request_body.go +++ b/drives/item_items_item_workbook_functions_and_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAndPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_arabic_post_request_body.go b/drives/item_items_item_workbook_functions_arabic_post_request_body.go index a712b289dce..05481ea2f0c 100644 --- a/drives/item_items_item_workbook_functions_arabic_post_request_body.go +++ b/drives/item_items_item_workbook_functions_arabic_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) SetBackingStore(va m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsArabicPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_areas_post_request_body.go b/drives/item_items_item_workbook_functions_areas_post_request_body.go index 9f210b7d29a..5de04349265 100644 --- a/drives/item_items_item_workbook_functions_areas_post_request_body.go +++ b/drives/item_items_item_workbook_functions_areas_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) SetBackingStore(val m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAreasPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_asc_post_request_body.go b/drives/item_items_item_workbook_functions_asc_post_request_body.go index de7f5a7b817..3fefd2b7591 100644 --- a/drives/item_items_item_workbook_functions_asc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_asc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) SetBackingStore(value m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAscPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_asin_post_request_body.go b/drives/item_items_item_workbook_functions_asin_post_request_body.go index ca58b265fcc..528fbf3d142 100644 --- a/drives/item_items_item_workbook_functions_asin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_asin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAsinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_asinh_post_request_body.go b/drives/item_items_item_workbook_functions_asinh_post_request_body.go index e71fed19dc8..cabb3091a1b 100644 --- a/drives/item_items_item_workbook_functions_asinh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_asinh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAsinhPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_atan2_post_request_body.go b/drives/item_items_item_workbook_functions_atan2_post_request_body.go index 62a2616fcfc..812bba8cbf6 100644 --- a/drives/item_items_item_workbook_functions_atan2_post_request_body.go +++ b/drives/item_items_item_workbook_functions_atan2_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["xNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetXNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetXNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetXNum gets the xNum property value. The xNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("xNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYNum gets the yNum property value. The yNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) SetBackingStore(val m.backingStore = value } // SetXNum sets the xNum property value. The xNum property -func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("xNum", value) if err != nil { panic(err) } } // SetYNum sets the yNum property value. The yNum property -func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yNum", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsAtan2PostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_atan_post_request_body.go b/drives/item_items_item_workbook_functions_atan_post_request_body.go index 97160ef5375..2af174154ae 100644 --- a/drives/item_items_item_workbook_functions_atan_post_request_body.go +++ b/drives/item_items_item_workbook_functions_atan_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAtanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_atanh_post_request_body.go b/drives/item_items_item_workbook_functions_atanh_post_request_body.go index 2a88965f73a..5ed88282fde 100644 --- a/drives/item_items_item_workbook_functions_atanh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_atanh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAtanhPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_avedev_ave_dev_post_request_body.go b/drives/item_items_item_workbook_functions_avedev_ave_dev_post_request_body.go index 4577b26d2cd..2bd82af0555 100644 --- a/drives/item_items_item_workbook_functions_avedev_ave_dev_post_request_body.go +++ b/drives/item_items_item_workbook_functions_avedev_ave_dev_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetBackingSt m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAvedevAveDevPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_average_post_request_body.go b/drives/item_items_item_workbook_functions_average_post_request_body.go index d9fe177a9ce..6e815246f29 100644 --- a/drives/item_items_item_workbook_functions_average_post_request_body.go +++ b/drives/item_items_item_workbook_functions_average_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) SetBackingStore(v m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAveragePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_averagea_average_a_post_request_body.go b/drives/item_items_item_workbook_functions_averagea_average_a_post_request_body.go index 6a9ba306729..2f82b0ba1ad 100644 --- a/drives/item_items_item_workbook_functions_averagea_average_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_averagea_average_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetBacki m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsAverageaAverageAPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_averageif_average_if_post_request_body.go b/drives/item_items_item_workbook_functions_averageif_average_if_post_request_body.go index f2260f966f5..5098d0e19b2 100644 --- a/drives/item_items_item_workbook_functions_averageif_average_if_post_request_body.go +++ b/drives/item_items_item_workbook_functions_averageif_average_if_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAdd return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetBac return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCri func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAdd } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetBac m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBodyable interfa i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go b/drives/item_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go index f38651dfc5a..9fc25c955ff 100644 --- a/drives/item_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetA return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetA } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBodyable inter i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bahttext_baht_text_post_request_body.go b/drives/item_items_item_workbook_functions_bahttext_baht_text_post_request_body.go index e92f631eac4..0eb89f57718 100644 --- a/drives/item_items_item_workbook_functions_bahttext_baht_text_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bahttext_baht_text_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetBacki m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_base_post_request_body.go b/drives/item_items_item_workbook_functions_base_post_request_body.go index ca260102c1c..feaa70a6a35 100644 --- a/drives/item_items_item_workbook_functions_base_post_request_body.go +++ b/drives/item_items_item_workbook_functions_base_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["minLength"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinLength(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinLength(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMinLength gets the minLength property value. The minLength property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minLength") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetMinLength sets the minLength property value. The minLength property -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minLength", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsBasePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_besseli_bessel_i_post_request_body.go b/drives/item_items_item_workbook_functions_besseli_bessel_i_post_request_body.go index b72919f7cc8..df5a7afc97e 100644 --- a/drives/item_items_item_workbook_functions_besseli_bessel_i_post_request_body.go +++ b/drives/item_items_item_workbook_functions_besseli_bessel_i_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetBacking m.backingStore = value } // SetN sets the n property value. The n property -func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBesseliBesselIPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_besselj_bessel_j_post_request_body.go b/drives/item_items_item_workbook_functions_besselj_bessel_j_post_request_body.go index a94d5a5211c..9f3cfcef088 100644 --- a/drives/item_items_item_workbook_functions_besselj_bessel_j_post_request_body.go +++ b/drives/item_items_item_workbook_functions_besselj_bessel_j_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetBacking m.backingStore = value } // SetN sets the n property value. The n property -func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBesseljBesselJPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_besselk_bessel_k_post_request_body.go b/drives/item_items_item_workbook_functions_besselk_bessel_k_post_request_body.go index 10594c8a181..1725fe74c70 100644 --- a/drives/item_items_item_workbook_functions_besselk_bessel_k_post_request_body.go +++ b/drives/item_items_item_workbook_functions_besselk_bessel_k_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetBacking m.backingStore = value } // SetN sets the n property value. The n property -func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBesselkBesselKPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bessely_bessel_y_post_request_body.go b/drives/item_items_item_workbook_functions_bessely_bessel_y_post_request_body.go index 56931b1b703..560ecfcbb58 100644 --- a/drives/item_items_item_workbook_functions_bessely_bessel_y_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bessely_bessel_y_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetBacking m.backingStore = value } // SetN sets the n property value. The n property -func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBesselyBesselYPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go b/drives/item_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go index 4de1898ee14..ffb29a3c217 100644 --- a/drives/item_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBodyFromDi return NewItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAdd return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,26 +77,26 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBac return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -106,76 +105,76 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCum func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -226,7 +225,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) Serial return nil } // SetA sets the A property value. The A property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -240,14 +239,14 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAdd } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -258,21 +257,21 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBac m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -282,18 +281,18 @@ type ItemItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBodyable interfa i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go b/drives/item_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go index d44a09a1259..396945c2414 100644 --- a/drives/item_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBodyFromDisc return NewItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAddit return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,14 +77,14 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBacki return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -94,66 +93,66 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta( func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -198,7 +197,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) Serializ return nil } // SetA sets the A property value. The A property -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAddit } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -230,14 +229,14 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBacki m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -247,16 +246,16 @@ type ItemItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBodyable interface i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go b/drives/item_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go index 71a1f253221..b0b8cf97bf0 100644 --- a/drives/item_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go b/drives/item_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go index 634698d3984..b71e708fac9 100644 --- a/drives/item_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go b/drives/item_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go index 64c2ab5721d..2972d0ce13d 100644 --- a/drives/item_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go b/drives/item_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go index cfb5e0d875a..8de6d595dfa 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetB return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetC func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetB m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go b/drives/item_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go index 92cdbb16e34..6218101b396 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go +++ b/drives/item_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostReque func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS2 gets the numberS2 property value. The numberS2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostReque m.backingStore = value } // SetNumberS sets the numberS property value. The numberS property -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetNumberS2 sets the numberS2 property value. The numberS2 property -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS2", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go b/drives/item_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go index 436d39da3f1..9d0771e3a75 100644 --- a/drives/item_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAdd return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAdd } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetBac m.backingStore = value } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBodyable interfa i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bitand_post_request_body.go b/drives/item_items_item_workbook_functions_bitand_post_request_body.go index d2de1e7e435..98195ba9dd9 100644 --- a/drives/item_items_item_workbook_functions_bitand_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bitand_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBitandPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bitlshift_post_request_body.go b/drives/item_items_item_workbook_functions_bitlshift_post_request_body.go index ab661f346f2..8633b7450d5 100644 --- a/drives/item_items_item_workbook_functions_bitlshift_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bitlshift_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetBackingStore m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBitlshiftPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bitor_post_request_body.go b/drives/item_items_item_workbook_functions_bitor_post_request_body.go index bd2e209ff9a..1ce31007a22 100644 --- a/drives/item_items_item_workbook_functions_bitor_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bitor_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBitorPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bitrshift_post_request_body.go b/drives/item_items_item_workbook_functions_bitrshift_post_request_body.go index c7811c6e424..a79b4fa440c 100644 --- a/drives/item_items_item_workbook_functions_bitrshift_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bitrshift_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetBackingStore m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBitrshiftPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_bitxor_post_request_body.go b/drives/item_items_item_workbook_functions_bitxor_post_request_body.go index d3f8030135a..16f77db4a21 100644 --- a/drives/item_items_item_workbook_functions_bitxor_post_request_body.go +++ b/drives/item_items_item_workbook_functions_bitxor_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsBitxorPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go b/drives/item_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go index e0d26bf6a25..2417602dc78 100644 --- a/drives/item_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go b/drives/item_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go index 104dce2d36d..0a12d82daf6 100644 --- a/drives/item_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequest func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_char_post_request_body.go b/drives/item_items_item_workbook_functions_char_post_request_body.go index f1169d09ef2..a23d0011897 100644 --- a/drives/item_items_item_workbook_functions_char_post_request_body.go +++ b/drives/item_items_item_workbook_functions_char_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCharPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go b/drives/item_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go index 77627569c4c..16b9f893b69 100644 --- a/drives/item_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetB return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetD func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetB m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go b/drives/item_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go index 9db99f17442..b009b935062 100644 --- a/drives/item_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBodyable ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go b/drives/item_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go index 8df3259d1ec..71d2428eccb 100644 --- a/drives/item_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetBac return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDeg func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetBac m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go b/drives/item_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go index a75818b6471..db78388e052 100644 --- a/drives/item_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_choose_post_request_body.go b/drives/item_items_item_workbook_functions_choose_post_request_body.go index ed34551faed..15f13744180 100644 --- a/drives/item_items_item_workbook_functions_choose_post_request_body.go +++ b/drives/item_items_item_workbook_functions_choose_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["indexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIndexNum gets the indexNum property value. The indexNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("indexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) SetBackingStore(va m.backingStore = value } // SetIndexNum sets the indexNum property value. The indexNum property -func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("indexNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsChoosePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_clean_post_request_body.go b/drives/item_items_item_workbook_functions_clean_post_request_body.go index b402d4fe789..dda5259d356 100644 --- a/drives/item_items_item_workbook_functions_clean_post_request_body.go +++ b/drives/item_items_item_workbook_functions_clean_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) SetBackingStore(val m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCleanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_code_post_request_body.go b/drives/item_items_item_workbook_functions_code_post_request_body.go index 9add418605d..71e849b1ad5 100644 --- a/drives/item_items_item_workbook_functions_code_post_request_body.go +++ b/drives/item_items_item_workbook_functions_code_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCodePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_columns_post_request_body.go b/drives/item_items_item_workbook_functions_columns_post_request_body.go index f8e08b03bfd..c9af54e2db2 100644 --- a/drives/item_items_item_workbook_functions_columns_post_request_body.go +++ b/drives/item_items_item_workbook_functions_columns_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) GetAdditionalData return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) SetAdditionalData } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type ItemItemsItemWorkbookFunctionsColumnsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/drives/item_items_item_workbook_functions_combin_post_request_body.go b/drives/item_items_item_workbook_functions_combin_post_request_body.go index 3116f072109..2c9cfbcb82e 100644 --- a/drives/item_items_item_workbook_functions_combin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_combin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsCombinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_combina_post_request_body.go b/drives/item_items_item_workbook_functions_combina_post_request_body.go index a6ba456c558..15cbeaa3ce9 100644 --- a/drives/item_items_item_workbook_functions_combina_post_request_body.go +++ b/drives/item_items_item_workbook_functions_combina_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) SetBackingStore(v m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsCombinaPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_complex_post_request_body.go b/drives/item_items_item_workbook_functions_complex_post_request_body.go index 6ac0501b076..ad0bd247596 100644 --- a/drives/item_items_item_workbook_functions_complex_post_request_body.go +++ b/drives/item_items_item_workbook_functions_complex_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["iNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetINum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetINum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["realNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRealNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRealNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["suffix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSuffix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSuffix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetINum gets the iNum property value. The iNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("iNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRealNum gets the realNum property value. The realNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("realNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSuffix gets the suffix property value. The suffix property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("suffix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetBackingStore(v m.backingStore = value } // SetINum sets the iNum property value. The iNum property -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("iNum", value) if err != nil { panic(err) } } // SetRealNum sets the realNum property value. The realNum property -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("realNum", value) if err != nil { panic(err) } } // SetSuffix sets the suffix property value. The suffix property -func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("suffix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsComplexPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_concatenate_post_request_body.go b/drives/item_items_item_workbook_functions_concatenate_post_request_body.go index b6bc7f77f78..d244f3caa68 100644 --- a/drives/item_items_item_workbook_functions_concatenate_post_request_body.go +++ b/drives/item_items_item_workbook_functions_concatenate_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetBackingSto func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetBackingSto m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsConcatenatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go b/drives/item_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go index 32d076dcffa..a2c84a62752 100644 --- a/drives/item_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go +++ b/drives/item_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequest return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequest func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequest } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequest m.backingStore = value } // SetSize sets the size property value. The size property -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go b/drives/item_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go index 37e00d9fa96..78274c34543 100644 --- a/drives/item_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) m.backingStore = value } // SetSize sets the size property value. The size property -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBodyable i i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_convert_post_request_body.go b/drives/item_items_item_workbook_functions_convert_post_request_body.go index aea38c7e785..8fab4cbf621 100644 --- a/drives/item_items_item_workbook_functions_convert_post_request_body.go +++ b/drives/item_items_item_workbook_functions_convert_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fromUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFromUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFromUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["toUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetToUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetToUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFromUnit gets the fromUnit property value. The fromUnit property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fromUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetToUnit gets the toUnit property value. The toUnit property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("toUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetBackingStore(v m.backingStore = value } // SetFromUnit sets the fromUnit property value. The fromUnit property -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fromUnit", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetToUnit sets the toUnit property value. The toUnit property -func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("toUnit", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsConvertPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_cos_post_request_body.go b/drives/item_items_item_workbook_functions_cos_post_request_body.go index bfcbfad12e1..ec2441f9a6f 100644 --- a/drives/item_items_item_workbook_functions_cos_post_request_body.go +++ b/drives/item_items_item_workbook_functions_cos_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCosPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_cosh_post_request_body.go b/drives/item_items_item_workbook_functions_cosh_post_request_body.go index 45a4a45c9d9..45bd557e220 100644 --- a/drives/item_items_item_workbook_functions_cosh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_cosh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCoshPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_cot_post_request_body.go b/drives/item_items_item_workbook_functions_cot_post_request_body.go index e26fe43e961..a253bd0b68b 100644 --- a/drives/item_items_item_workbook_functions_cot_post_request_body.go +++ b/drives/item_items_item_workbook_functions_cot_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCotPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coth_post_request_body.go b/drives/item_items_item_workbook_functions_coth_post_request_body.go index c535824072f..ab0471ba207 100644 --- a/drives/item_items_item_workbook_functions_coth_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coth_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCothPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_count_post_request_body.go b/drives/item_items_item_workbook_functions_count_post_request_body.go index dbd058c2fbf..bc9eed9b4e3 100644 --- a/drives/item_items_item_workbook_functions_count_post_request_body.go +++ b/drives/item_items_item_workbook_functions_count_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) SetBackingStore(val m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCountPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_counta_count_a_post_request_body.go b/drives/item_items_item_workbook_functions_counta_count_a_post_request_body.go index cf92e8da543..4f55db684bc 100644 --- a/drives/item_items_item_workbook_functions_counta_count_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_counta_count_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetBackingSt m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCountaCountAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_countblank_count_blank_post_request_body.go b/drives/item_items_item_workbook_functions_countblank_count_blank_post_request_body.go index 153baaf9321..03c135e7e39 100644 --- a/drives/item_items_item_workbook_functions_countblank_count_blank_post_request_body.go +++ b/drives/item_items_item_workbook_functions_countblank_count_blank_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetB m.backingStore = value } // SetRangeEscaped sets the range property value. The range property -func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_countif_count_if_post_request_body.go b/drives/item_items_item_workbook_functions_countif_count_if_post_request_body.go index 91ee25c980a..381e9cb3a1e 100644 --- a/drives/item_items_item_workbook_functions_countif_count_if_post_request_body.go +++ b/drives/item_items_item_workbook_functions_countif_count_if_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetBacking return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteri func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetBacking m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsCountifCountIfPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_countifs_count_ifs_post_request_body.go b/drives/item_items_item_workbook_functions_countifs_count_ifs_post_request_body.go index e74876ac523..d0d21de7b1c 100644 --- a/drives/item_items_item_workbook_functions_countifs_count_ifs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_countifs_count_ifs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetBacki m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go b/drives/item_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go index f13b20766fd..6157cc6553d 100644 --- a/drives/item_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coupdays_coup_days_post_request_body.go b/drives/item_items_item_workbook_functions_coupdays_coup_days_post_request_body.go index 898f12d6ff6..5c381340a6a 100644 --- a/drives/item_items_item_workbook_functions_coupdays_coup_days_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coupdays_coup_days_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go b/drives/item_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go index 9bad5750930..5ace9ea040e 100644 --- a/drives/item_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetB return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetB m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go b/drives/item_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go index 647ac73c814..11a4c87e3f4 100644 --- a/drives/item_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBacking return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis() func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBacking m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_coupnum_coup_num_post_request_body.go b/drives/item_items_item_workbook_functions_coupnum_coup_num_post_request_body.go index f814fe7ba85..39d2657325c 100644 --- a/drives/item_items_item_workbook_functions_coupnum_coup_num_post_request_body.go +++ b/drives/item_items_item_workbook_functions_coupnum_coup_num_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBacking return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis() func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBacking m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go b/drives/item_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go index 5b2e74fdf0a..273f66587c8 100644 --- a/drives/item_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBacking return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis() func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBacking m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_csc_post_request_body.go b/drives/item_items_item_workbook_functions_csc_post_request_body.go index e3f62dcf00c..3a4f981f9b7 100644 --- a/drives/item_items_item_workbook_functions_csc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_csc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCscPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_csch_post_request_body.go b/drives/item_items_item_workbook_functions_csch_post_request_body.go index 874434ad347..73a836a689a 100644 --- a/drives/item_items_item_workbook_functions_csch_post_request_body.go +++ b/drives/item_items_item_workbook_functions_csch_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsCschPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go b/drives/item_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go index 645ae7ec831..895197e0670 100644 --- a/drives/item_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetBacking return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeri func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetBacking m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go b/drives/item_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go index fd3cf1234b9..a9880d43a36 100644 --- a/drives/item_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go +++ b/drives/item_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetBacki return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPe func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetBacki m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_date_post_request_body.go b/drives/item_items_item_workbook_functions_date_post_request_body.go index d283f156cfa..5689878eb29 100644 --- a/drives/item_items_item_workbook_functions_date_post_request_body.go +++ b/drives/item_items_item_workbook_functions_date_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetBackingStore()(ie return m.backingStore } // GetDay gets the day property value. The day property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("day") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(ie233ee762e func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["day"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDay(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDay(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["year"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYear(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYear(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYear gets the year property value. The year property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("year") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetDay sets the day property value. The day property -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("day", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetYear sets the year property value. The year property -func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("year", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_datevalue_post_request_body.go b/drives/item_items_item_workbook_functions_datevalue_post_request_body.go index 281a74bc4fb..a8a1e0613a6 100644 --- a/drives/item_items_item_workbook_functions_datevalue_post_request_body.go +++ b/drives/item_items_item_workbook_functions_datevalue_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetBackingStore return m.backingStore } // GetDateText gets the dateText property value. The dateText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dateText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(i func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dateText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDateText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDateText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetBackingStore m.backingStore = value } // SetDateText sets the dateText property value. The dateText property -func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dateText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsDatevaluePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_daverage_post_request_body.go b/drives/item_items_item_workbook_functions_daverage_post_request_body.go index 9d0caf6c23f..050e2993027 100644 --- a/drives/item_items_item_workbook_functions_daverage_post_request_body.go +++ b/drives/item_items_item_workbook_functions_daverage_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetBackingStore( return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(ie233 func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetBackingStore( m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDaveragePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_day_post_request_body.go b/drives/item_items_item_workbook_functions_day_post_request_body.go index 394b0d376f8..1e7936bd903 100644 --- a/drives/item_items_item_workbook_functions_day_post_request_body.go +++ b/drives/item_items_item_workbook_functions_day_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) SetBackingStore(value m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsDayPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_days360_post_request_body.go b/drives/item_items_item_workbook_functions_days360_post_request_body.go index c3bab13a89d..8156653a1a0 100644 --- a/drives/item_items_item_workbook_functions_days360_post_request_body.go +++ b/drives/item_items_item_workbook_functions_days360_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetBackingStore() return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(ie23 func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["method"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMethod gets the method property value. The method property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("method") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetBackingStore(v m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetMethod sets the method property value. The method property -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("method", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDays360PostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_days_post_request_body.go b/drives/item_items_item_workbook_functions_days_post_request_body.go index 804da6f4265..9dfa859cbda 100644 --- a/drives/item_items_item_workbook_functions_days_post_request_body.go +++ b/drives/item_items_item_workbook_functions_days_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(ie233ee func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDaysPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_db_post_request_body.go b/drives/item_items_item_workbook_functions_db_post_request_body.go index 5db925e764d..21831f63617 100644 --- a/drives/item_items_item_workbook_functions_db_post_request_body.go +++ b/drives/item_items_item_workbook_functions_db_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetBackingStore()(ie86 return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(ie233ee762e2 func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetBackingStore(value m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsDbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dbcs_post_request_body.go b/drives/item_items_item_workbook_functions_dbcs_post_request_body.go index 37cea671dfb..d3fb3fe2f31 100644 --- a/drives/item_items_item_workbook_functions_dbcs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dbcs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsDbcsPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dcount_post_request_body.go b/drives/item_items_item_workbook_functions_dcount_post_request_body.go index 7c6199bd5cc..dad0e3eef8a 100644 --- a/drives/item_items_item_workbook_functions_dcount_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dcount_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetBackingStore()( return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(ie233ee func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetBackingStore(va m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDcountPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go b/drives/item_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go index 66cb310089e..47689dc04b7 100644 --- a/drives/item_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetBacking return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField() func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetBacking m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDcountaDcountAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ddb_post_request_body.go b/drives/item_items_item_workbook_functions_ddb_post_request_body.go index e0bc4a2efe3..4c306bc1cae 100644 --- a/drives/item_items_item_workbook_functions_ddb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ddb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetBackingStore(value m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsDdbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go b/drives/item_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go index 6b4ad169f75..6c59b9dd10e 100644 --- a/drives/item_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go b/drives/item_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go index 8428ca47931..12a9d1e9a92 100644 --- a/drives/item_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go b/drives/item_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go index f18480d9cdc..7f9080739cd 100644 --- a/drives/item_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_decimal_post_request_body.go b/drives/item_items_item_workbook_functions_decimal_post_request_body.go index 265829bd0e2..afd2c716981 100644 --- a/drives/item_items_item_workbook_functions_decimal_post_request_body.go +++ b/drives/item_items_item_workbook_functions_decimal_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) SetBackingStore(v m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDecimalPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_degrees_post_request_body.go b/drives/item_items_item_workbook_functions_degrees_post_request_body.go index 02862bedf1d..971f62a2ed1 100644 --- a/drives/item_items_item_workbook_functions_degrees_post_request_body.go +++ b/drives/item_items_item_workbook_functions_degrees_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAdditionalData return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAdditionalData } } // SetAngle sets the angle property value. The angle property -func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type ItemItemsItemWorkbookFunctionsDegreesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/drives/item_items_item_workbook_functions_delta_post_request_body.go b/drives/item_items_item_workbook_functions_delta_post_request_body.go index 014cb8461cb..30f1bd60292 100644 --- a/drives/item_items_item_workbook_functions_delta_post_request_body.go +++ b/drives/item_items_item_workbook_functions_delta_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDeltaPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_devsq_dev_sq_post_request_body.go b/drives/item_items_item_workbook_functions_devsq_dev_sq_post_request_body.go index 38b6210b14a..f040d40faf4 100644 --- a/drives/item_items_item_workbook_functions_devsq_dev_sq_post_request_body.go +++ b/drives/item_items_item_workbook_functions_devsq_dev_sq_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsDevsqDevSqPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dget_post_request_body.go b/drives/item_items_item_workbook_functions_dget_post_request_body.go index b74880a038f..76fa6412b59 100644 --- a/drives/item_items_item_workbook_functions_dget_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dget_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDgetPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_disc_post_request_body.go b/drives/item_items_item_workbook_functions_disc_post_request_body.go index 3061ba02e0a..d60865895c4 100644 --- a/drives/item_items_item_workbook_functions_disc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_disc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsDiscPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dmax_post_request_body.go b/drives/item_items_item_workbook_functions_dmax_post_request_body.go index 2e8c45d05db..636b32f419e 100644 --- a/drives/item_items_item_workbook_functions_dmax_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dmax_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDmaxPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dmin_post_request_body.go b/drives/item_items_item_workbook_functions_dmin_post_request_body.go index fb7915c260a..5901fcd26fa 100644 --- a/drives/item_items_item_workbook_functions_dmin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dmin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDminPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dollar_post_request_body.go b/drives/item_items_item_workbook_functions_dollar_post_request_body.go index 2a2804ba3a9..32ee9eb5cb1 100644 --- a/drives/item_items_item_workbook_functions_dollar_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dollar_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetBackingStore()( return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(ie23 func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) SetBackingStore(va m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDollarPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go b/drives/item_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go index 97c06357e10..15c96c44307 100644 --- a/drives/item_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fractionalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFractionalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFractionalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFractionalDollar gets the fractionalDollar property value. The fractionalDollar property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fractionalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetBacki m.backingStore = value } // SetFraction sets the fraction property value. The fraction property -func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) } } // SetFractionalDollar sets the fractionalDollar property value. The fractionalDollar property -func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fractionalDollar", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDollardeDollarDePostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go b/drives/item_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go index eeb6ed80236..0d964112d35 100644 --- a/drives/item_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetBacki return m.backingStore } // GetDecimalDollar gets the decimalDollar property value. The decimalDollar property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecim func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetBacki m.backingStore = value } // SetDecimalDollar sets the decimalDollar property value. The decimalDollar property -func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalDollar", value) if err != nil { panic(err) } } // SetFraction sets the fraction property value. The fraction property -func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dproduct_post_request_body.go b/drives/item_items_item_workbook_functions_dproduct_post_request_body.go index b62fba818c9..753ae79305c 100644 --- a/drives/item_items_item_workbook_functions_dproduct_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dproduct_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetBackingStore( return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(ie233 func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetBackingStore( m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDproductPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go b/drives/item_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go index db055123e0f..d861aafce09 100644 --- a/drives/item_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetBackingSt return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(i func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetBackingSt m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDstdevDstDevPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go b/drives/item_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go index d4e57082dc2..17836ae425d 100644 --- a/drives/item_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetBacking return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField() func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetBacking m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dsum_post_request_body.go b/drives/item_items_item_workbook_functions_dsum_post_request_body.go index 5d460a4a3f9..a187e77e7d4 100644 --- a/drives/item_items_item_workbook_functions_dsum_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dsum_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDsumPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_duration_post_request_body.go b/drives/item_items_item_workbook_functions_duration_post_request_body.go index cba8c3835e1..5db2dee41f1 100644 --- a/drives/item_items_item_workbook_functions_duration_post_request_body.go +++ b/drives/item_items_item_workbook_functions_duration_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetBackingStore( return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(ie23 func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetBackingStore( m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsDurationPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dvar_post_request_body.go b/drives/item_items_item_workbook_functions_dvar_post_request_body.go index 7cd9070eed8..5dc775bcfb2 100644 --- a/drives/item_items_item_workbook_functions_dvar_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dvar_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDvarPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go b/drives/item_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go index 9dcba33ffc9..c008de29b0d 100644 --- a/drives/item_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go +++ b/drives/item_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetBackingStor return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(ie2 func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetBackingStor m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsDvarpDvarPPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go b/drives/item_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go index dc35eec679c..11cd25b12d6 100644 --- a/drives/item_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_edate_post_request_body.go b/drives/item_items_item_workbook_functions_edate_post_request_body.go index 7b8d808bf6c..956ece19f68 100644 --- a/drives/item_items_item_workbook_functions_edate_post_request_body.go +++ b/drives/item_items_item_workbook_functions_edate_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) SetBackingStore(val m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsEdatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_effect_post_request_body.go b/drives/item_items_item_workbook_functions_effect_post_request_body.go index 24320e7154f..3d51e7fd096 100644 --- a/drives/item_items_item_workbook_functions_effect_post_request_body.go +++ b/drives/item_items_item_workbook_functions_effect_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nominalRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNominalRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNominalRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNominalRate gets the nominalRate property value. The nominalRate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nominalRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNominalRate sets the nominalRate property value. The nominalRate property -func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nominalRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsEffectPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_eomonth_eo_month_post_request_body.go b/drives/item_items_item_workbook_functions_eomonth_eo_month_post_request_body.go index bcea8dec704..c9ad97b8608 100644 --- a/drives/item_items_item_workbook_functions_eomonth_eo_month_post_request_body.go +++ b/drives/item_items_item_workbook_functions_eomonth_eo_month_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetBacking m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_erf_post_request_body.go b/drives/item_items_item_workbook_functions_erf_post_request_body.go index c5a3ef6025b..6db44d690ee 100644 --- a/drives/item_items_item_workbook_functions_erf_post_request_body.go +++ b/drives/item_items_item_workbook_functions_erf_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lowerLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLowerLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLowerLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["upperLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetUpperLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetUpperLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLowerLimit gets the lowerLimit property value. The lowerLimit property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lowerLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetUpperLimit gets the upperLimit property value. The upperLimit property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("upperLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) SetBackingStore(value m.backingStore = value } // SetLowerLimit sets the lowerLimit property value. The lowerLimit property -func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lowerLimit", value) if err != nil { panic(err) } } // SetUpperLimit sets the upperLimit property value. The upperLimit property -func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("upperLimit", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsErfPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go b/drives/item_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go index d2193bffbd9..e1d0a8ad76a 100644 --- a/drives/item_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go +++ b/drives/item_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) Se m.backingStore = value } // SetX sets the X property value. The X property -func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_erfc_erf_c_post_request_body.go b/drives/item_items_item_workbook_functions_erfc_erf_c_post_request_body.go index 827d2f7b423..4f8b2515972 100644 --- a/drives/item_items_item_workbook_functions_erfc_erf_c_post_request_body.go +++ b/drives/item_items_item_workbook_functions_erfc_erf_c_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetBackingStore( m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsErfcErfCPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go b/drives/item_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go index b8ecda77f25..710452c05a1 100644 --- a/drives/item_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go +++ b/drives/item_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) m.backingStore = value } // SetX sets the X property value. The X property -func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_error_type_error_type_post_request_body.go b/drives/item_items_item_workbook_functions_error_type_error_type_post_request_body.go index 9f793429382..a42d8c57e41 100644 --- a/drives/item_items_item_workbook_functions_error_type_error_type_post_request_body.go +++ b/drives/item_items_item_workbook_functions_error_type_error_type_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetB return m.backingStore } // GetErrorVal gets the errorVal property value. The errorVal property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("errorVal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetE func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["errorVal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetErrorVal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetErrorVal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetB m.backingStore = value } // SetErrorVal sets the errorVal property value. The errorVal property -func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("errorVal", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsError_typeError_TypePostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_even_post_request_body.go b/drives/item_items_item_workbook_functions_even_post_request_body.go index 0541614eed4..291edff367d 100644 --- a/drives/item_items_item_workbook_functions_even_post_request_body.go +++ b/drives/item_items_item_workbook_functions_even_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsEvenPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_exact_post_request_body.go b/drives/item_items_item_workbook_functions_exact_post_request_body.go index 6f7b8580eb6..ba3b5a3c302 100644 --- a/drives/item_items_item_workbook_functions_exact_post_request_body.go +++ b/drives/item_items_item_workbook_functions_exact_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText1 gets the text1 property value. The text1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText2 gets the text2 property value. The text2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) SetBackingStore(val m.backingStore = value } // SetText1 sets the text1 property value. The text1 property -func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text1", value) if err != nil { panic(err) } } // SetText2 sets the text2 property value. The text2 property -func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsExactPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_exp_post_request_body.go b/drives/item_items_item_workbook_functions_exp_post_request_body.go index 72f14c9651f..b638da47a97 100644 --- a/drives/item_items_item_workbook_functions_exp_post_request_body.go +++ b/drives/item_items_item_workbook_functions_exp_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsExpPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go b/drives/item_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go index 240aac35867..8656ef73caf 100644 --- a/drives/item_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetB return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetC func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lambda"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLambda(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLambda(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLambda gets the lambda property value. The lambda property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lambda") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetB m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetLambda sets the lambda property value. The lambda property -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lambda", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_f_dist_f_dist_post_request_body.go b/drives/item_items_item_workbook_functions_f_dist_f_dist_post_request_body.go index 440581e5524..39a2f9b2446 100644 --- a/drives/item_items_item_workbook_functions_f_dist_f_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_f_dist_f_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetBackingSt return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedo func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetBackingSt m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsF_distF_DistPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go b/drives/item_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go index 0b0fcb3881c..43141813729 100644 --- a/drives/item_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetBac return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDeg func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetBac m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_f_inv_f_inv_post_request_body.go b/drives/item_items_item_workbook_functions_f_inv_f_inv_post_request_body.go index e1444eeaa60..4bc57d7073c 100644 --- a/drives/item_items_item_workbook_functions_f_inv_f_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_f_inv_f_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetBackingStor return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2 func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetBackingStor m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsF_invF_InvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go b/drives/item_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go index 3814858057f..7e0a451eaec 100644 --- a/drives/item_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetBacki return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFr func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetBacki m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fact_post_request_body.go b/drives/item_items_item_workbook_functions_fact_post_request_body.go index 21fbd22eebd..e76bd7cfe56 100644 --- a/drives/item_items_item_workbook_functions_fact_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fact_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsFactPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_factdouble_fact_double_post_request_body.go b/drives/item_items_item_workbook_functions_factdouble_fact_double_post_request_body.go index 1f41c4ab1c7..afaae23646d 100644 --- a/drives/item_items_item_workbook_functions_factdouble_fact_double_post_request_body.go +++ b/drives/item_items_item_workbook_functions_factdouble_fact_double_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_find_post_request_body.go b/drives/item_items_item_workbook_functions_find_post_request_body.go index 25a075e116b..59f8a5b24a9 100644 --- a/drives/item_items_item_workbook_functions_find_post_request_body.go +++ b/drives/item_items_item_workbook_functions_find_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsFindPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_findb_find_b_post_request_body.go b/drives/item_items_item_workbook_functions_findb_find_b_post_request_body.go index 4b3aec359b4..d11fa040294 100644 --- a/drives/item_items_item_workbook_functions_findb_find_b_post_request_body.go +++ b/drives/item_items_item_workbook_functions_findb_find_b_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetBackingStor m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsFindbFindBPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fisher_post_request_body.go b/drives/item_items_item_workbook_functions_fisher_post_request_body.go index 432047359f4..5546d5b9c19 100644 --- a/drives/item_items_item_workbook_functions_fisher_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fisher_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) SetBackingStore(va m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsFisherPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go b/drives/item_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go index 9f415529ec2..e9c556f95c3 100644 --- a/drives/item_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["y"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetY(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetY(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetY gets the y property value. The y property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("y") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetBac m.backingStore = value } // SetY sets the y property value. The y property -func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("y", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fixed_post_request_body.go b/drives/item_items_item_workbook_functions_fixed_post_request_body.go index d555161c221..53797bdb065 100644 --- a/drives/item_items_item_workbook_functions_fixed_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fixed_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetBackingStore()(i return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(ie233 func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noCommas"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoCommas(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoCommas(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNoCommas gets the noCommas property value. The noCommas property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noCommas") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetBackingStore(val m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNoCommas sets the noCommas property value. The noCommas property -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noCommas", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsFixedPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_floor_math_floor_math_post_request_body.go b/drives/item_items_item_workbook_functions_floor_math_floor_math_post_request_body.go index 675a34db909..f04f3f3cf8b 100644 --- a/drives/item_items_item_workbook_functions_floor_math_floor_math_post_request_body.go +++ b/drives/item_items_item_workbook_functions_floor_math_floor_math_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetB m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go b/drives/item_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go index e65c18022eb..fa682399b04 100644 --- a/drives/item_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go +++ b/drives/item_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBodyable ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fv_post_request_body.go b/drives/item_items_item_workbook_functions_fv_post_request_body.go index a034c84e13e..20b33801f0b 100644 --- a/drives/item_items_item_workbook_functions_fv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetBackingStore()(ie86 func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsFvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_fvschedule_post_request_body.go b/drives/item_items_item_workbook_functions_fvschedule_post_request_body.go index 7ee0f8ec09a..cafb1a61f0b 100644 --- a/drives/item_items_item_workbook_functions_fvschedule_post_request_body.go +++ b/drives/item_items_item_workbook_functions_fvschedule_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["principal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPrincipal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPrincipal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["schedule"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSchedule(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSchedule(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPrincipal gets the principal property value. The principal property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("principal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSchedule gets the schedule property value. The schedule property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("schedule") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetBackingStor m.backingStore = value } // SetPrincipal sets the principal property value. The principal property -func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("principal", value) if err != nil { panic(err) } } // SetSchedule sets the schedule property value. The schedule property -func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("schedule", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsFvschedulePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go b/drives/item_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go index 0c79824b227..b8887949b43 100644 --- a/drives/item_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetA return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetB return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetC func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetA } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetB m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type ItemItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBodyable inter i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go b/drives/item_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go index d401de4784e..29d251cfe1b 100644 --- a/drives/item_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAdd return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBac return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBet func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAdd } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBac m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBodyable interfa i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gamma_post_request_body.go b/drives/item_items_item_workbook_functions_gamma_post_request_body.go index 362ddf8ad84..2a83561e846 100644 --- a/drives/item_items_item_workbook_functions_gamma_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gamma_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) SetBackingStore(val m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGammaPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go b/drives/item_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go index fd966fcd78a..09ea9701436 100644 --- a/drives/item_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetBacking m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go b/drives/item_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go index 8fe5393d027..19e0442a0c8 100644 --- a/drives/item_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequest func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequest m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gauss_post_request_body.go b/drives/item_items_item_workbook_functions_gauss_post_request_body.go index 4a728a8b817..29c5774562b 100644 --- a/drives/item_items_item_workbook_functions_gauss_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gauss_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) SetBackingStore(val m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGaussPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gcd_post_request_body.go b/drives/item_items_item_workbook_functions_gcd_post_request_body.go index 79a4f6d1556..b4dfd1b451a 100644 --- a/drives/item_items_item_workbook_functions_gcd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gcd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGcdPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_geomean_geo_mean_post_request_body.go b/drives/item_items_item_workbook_functions_geomean_geo_mean_post_request_body.go index 08062ff1a57..49a35b40f6e 100644 --- a/drives/item_items_item_workbook_functions_geomean_geo_mean_post_request_body.go +++ b/drives/item_items_item_workbook_functions_geomean_geo_mean_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetBacking m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_gestep_ge_step_post_request_body.go b/drives/item_items_item_workbook_functions_gestep_ge_step_post_request_body.go index 9a71317e56d..2405cf23248 100644 --- a/drives/item_items_item_workbook_functions_gestep_ge_step_post_request_body.go +++ b/drives/item_items_item_workbook_functions_gestep_ge_step_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["step"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStep(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStep(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStep gets the step property value. The step property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("step") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetBackingSt m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetStep sets the step property value. The step property -func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("step", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsGestepGeStepPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_harmean_har_mean_post_request_body.go b/drives/item_items_item_workbook_functions_harmean_har_mean_post_request_body.go index 060408bf8ef..39694a9e44e 100644 --- a/drives/item_items_item_workbook_functions_harmean_har_mean_post_request_body.go +++ b/drives/item_items_item_workbook_functions_harmean_har_mean_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetBacking m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go b/drives/item_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go index d0d18247638..25b80375bdf 100644 --- a/drives/item_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go b/drives/item_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go index 418be67de68..f714fe14ca5 100644 --- a/drives/item_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go b/drives/item_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go index 8c0cf2140ac..beaacb57371 100644 --- a/drives/item_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hlookup_post_request_body.go b/drives/item_items_item_workbook_functions_hlookup_post_request_body.go index 87bdc542305..3439ddf2b31 100644 --- a/drives/item_items_item_workbook_functions_hlookup_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hlookup_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rowIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRowIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRowIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRowIndexNum gets the rowIndexNum property value. The rowIndexNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rowIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetBackingStore(v m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetRowIndexNum sets the rowIndexNum property value. The rowIndexNum property -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rowIndexNum", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsHlookupPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hour_post_request_body.go b/drives/item_items_item_workbook_functions_hour_post_request_body.go index 2a97b53692f..2a8ce208e1e 100644 --- a/drives/item_items_item_workbook_functions_hour_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hour_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsHourPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hyperlink_post_request_body.go b/drives/item_items_item_workbook_functions_hyperlink_post_request_body.go index 416620687b6..cb8507ffe00 100644 --- a/drives/item_items_item_workbook_functions_hyperlink_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hyperlink_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["friendlyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFriendlyName(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFriendlyName(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["linkLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLinkLocation(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLinkLocation(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFriendlyName gets the friendlyName property value. The friendlyName property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("friendlyName") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLinkLocation gets the linkLocation property value. The linkLocation property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("linkLocation") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetBackingStore m.backingStore = value } // SetFriendlyName sets the friendlyName property value. The friendlyName property -func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("friendlyName", value) if err != nil { panic(err) } } // SetLinkLocation sets the linkLocation property value. The linkLocation property -func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("linkLocation", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsHyperlinkPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go b/drives/item_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go index 80e76f80656..ba4ec01017b 100644 --- a/drives/item_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberPop"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberPop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberPop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberSample"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberSample(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberSample(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["populationS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPopulationS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPopulationS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sampleS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSampleS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSampleS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberPop gets the numberPop property value. The numberPop property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberPop") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberSample gets the numberSample property value. The numberSample property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberSample") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPopulationS gets the populationS property value. The populationS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("populationS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSampleS gets the sampleS property value. The sampleS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sampleS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberPop sets the numberPop property value. The numberPop property -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberPop", value) if err != nil { panic(err) } } // SetNumberSample sets the numberSample property value. The numberSample property -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberSample", value) if err != nil { panic(err) } } // SetPopulationS sets the populationS property value. The populationS property -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("populationS", value) if err != nil { panic(err) } } // SetSampleS sets the sampleS property value. The sampleS property -func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sampleS", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_if_post_request_body.go b/drives/item_items_item_workbook_functions_if_post_request_body.go index f6c31617a18..0c4a95545d4 100644 --- a/drives/item_items_item_workbook_functions_if_post_request_body.go +++ b/drives/item_items_item_workbook_functions_if_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetBackingStore()(ie86 func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logicalTest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogicalTest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogicalTest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfFalse"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfFalse(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfFalse(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfTrue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfTrue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfTrue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogicalTest gets the logicalTest property value. The logicalTest property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logicalTest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfFalse gets the valueIfFalse property value. The valueIfFalse property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfFalse") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfTrue gets the valueIfTrue property value. The valueIfTrue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfTrue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetBackingStore(value m.backingStore = value } // SetLogicalTest sets the logicalTest property value. The logicalTest property -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logicalTest", value) if err != nil { panic(err) } } // SetValueIfFalse sets the valueIfFalse property value. The valueIfFalse property -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfFalse", value) if err != nil { panic(err) } } // SetValueIfTrue sets the valueIfTrue property value. The valueIfTrue property -func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfTrue", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsIfPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imabs_im_abs_post_request_body.go b/drives/item_items_item_workbook_functions_imabs_im_abs_post_request_body.go index 2e119d50b72..541c320d710 100644 --- a/drives/item_items_item_workbook_functions_imabs_im_abs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imabs_im_abs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImabsImAbsPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imaginary_post_request_body.go b/drives/item_items_item_workbook_functions_imaginary_post_request_body.go index 659615dc4e6..3fef341dc22 100644 --- a/drives/item_items_item_workbook_functions_imaginary_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imaginary_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetBackingStore m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImaginaryPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imargument_im_argument_post_request_body.go b/drives/item_items_item_workbook_functions_imargument_im_argument_post_request_body.go index a3b4999f30b..dcc4763a164 100644 --- a/drives/item_items_item_workbook_functions_imargument_im_argument_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imargument_im_argument_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetB m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go b/drives/item_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go index c48ef3dab5b..88a8e1284c5 100644 --- a/drives/item_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) Se m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imcos_im_cos_post_request_body.go b/drives/item_items_item_workbook_functions_imcos_im_cos_post_request_body.go index 42f16d82e8e..006793d50f8 100644 --- a/drives/item_items_item_workbook_functions_imcos_im_cos_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imcos_im_cos_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImcosImCosPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go b/drives/item_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go index 94d667d2064..a61f3a604de 100644 --- a/drives/item_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImcoshImCoshPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imcot_im_cot_post_request_body.go b/drives/item_items_item_workbook_functions_imcot_im_cot_post_request_body.go index 5d6458d15b4..2452ae12dd1 100644 --- a/drives/item_items_item_workbook_functions_imcot_im_cot_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imcot_im_cot_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImcotImCotPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imcsc_im_csc_post_request_body.go b/drives/item_items_item_workbook_functions_imcsc_im_csc_post_request_body.go index 977b0dec651..74f9ddfcc9a 100644 --- a/drives/item_items_item_workbook_functions_imcsc_im_csc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imcsc_im_csc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImcscImCscPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imcsch_im_csch_post_request_body.go b/drives/item_items_item_workbook_functions_imcsch_im_csch_post_request_body.go index 56d48aaa005..4266d34d0a5 100644 --- a/drives/item_items_item_workbook_functions_imcsch_im_csch_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imcsch_im_csch_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImcschImCschPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imdiv_im_div_post_request_body.go b/drives/item_items_item_workbook_functions_imdiv_im_div_post_request_body.go index d93b7433589..716e4c8e314 100644 --- a/drives/item_items_item_workbook_functions_imdiv_im_div_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imdiv_im_div_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsImdivImDivPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imexp_im_exp_post_request_body.go b/drives/item_items_item_workbook_functions_imexp_im_exp_post_request_body.go index bc29b1ab836..193ef5e2287 100644 --- a/drives/item_items_item_workbook_functions_imexp_im_exp_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imexp_im_exp_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImexpImExpPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imln_im_ln_post_request_body.go b/drives/item_items_item_workbook_functions_imln_im_ln_post_request_body.go index 831e830fcf7..84affffbdcc 100644 --- a/drives/item_items_item_workbook_functions_imln_im_ln_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imln_im_ln_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetBackingStore( m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImlnImLnPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imlog10_im_log10_post_request_body.go b/drives/item_items_item_workbook_functions_imlog10_im_log10_post_request_body.go index e963cb2dee7..9f78ce85443 100644 --- a/drives/item_items_item_workbook_functions_imlog10_im_log10_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imlog10_im_log10_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetBacking m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imlog2_im_log2_post_request_body.go b/drives/item_items_item_workbook_functions_imlog2_im_log2_post_request_body.go index a03d33330f2..8302f78245b 100644 --- a/drives/item_items_item_workbook_functions_imlog2_im_log2_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imlog2_im_log2_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_impower_im_power_post_request_body.go b/drives/item_items_item_workbook_functions_impower_im_power_post_request_body.go index 2a4eeb751d7..33f60440bd3 100644 --- a/drives/item_items_item_workbook_functions_impower_im_power_post_request_body.go +++ b/drives/item_items_item_workbook_functions_impower_im_power_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetBacking m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsImpowerImPowerPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_improduct_im_product_post_request_body.go b/drives/item_items_item_workbook_functions_improduct_im_product_post_request_body.go index 704118902e7..522d00dae62 100644 --- a/drives/item_items_item_workbook_functions_improduct_im_product_post_request_body.go +++ b/drives/item_items_item_workbook_functions_improduct_im_product_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetBac m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImproductImProductPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imreal_im_real_post_request_body.go b/drives/item_items_item_workbook_functions_imreal_im_real_post_request_body.go index 252d8e2924e..b54535d5cb4 100644 --- a/drives/item_items_item_workbook_functions_imreal_im_real_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imreal_im_real_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImrealImRealPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsec_im_sec_post_request_body.go b/drives/item_items_item_workbook_functions_imsec_im_sec_post_request_body.go index 4d30469d39d..48ec5323b64 100644 --- a/drives/item_items_item_workbook_functions_imsec_im_sec_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsec_im_sec_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsecImSecPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsech_im_sech_post_request_body.go b/drives/item_items_item_workbook_functions_imsech_im_sech_post_request_body.go index dc66ae1830d..eb610fdf30a 100644 --- a/drives/item_items_item_workbook_functions_imsech_im_sech_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsech_im_sech_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsechImSechPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsin_im_sin_post_request_body.go b/drives/item_items_item_workbook_functions_imsin_im_sin_post_request_body.go index 3e135e497ab..c81b9643fcb 100644 --- a/drives/item_items_item_workbook_functions_imsin_im_sin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsin_im_sin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsinImSinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go b/drives/item_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go index 36181831c39..20618b76645 100644 --- a/drives/item_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsinhImSinhPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go b/drives/item_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go index 73481d29313..4a8df8a668c 100644 --- a/drives/item_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetBackingSt m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsub_im_sub_post_request_body.go b/drives/item_items_item_workbook_functions_imsub_im_sub_post_request_body.go index fc6f3c312b5..6ab9c0ddee4 100644 --- a/drives/item_items_item_workbook_functions_imsub_im_sub_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsub_im_sub_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsImsubImSubPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imsum_im_sum_post_request_body.go b/drives/item_items_item_workbook_functions_imsum_im_sum_post_request_body.go index db8d560b03f..308e289af8c 100644 --- a/drives/item_items_item_workbook_functions_imsum_im_sum_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imsum_im_sum_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImsumImSumPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_imtan_im_tan_post_request_body.go b/drives/item_items_item_workbook_functions_imtan_im_tan_post_request_body.go index ff5223e1880..ed6bcd98463 100644 --- a/drives/item_items_item_workbook_functions_imtan_im_tan_post_request_body.go +++ b/drives/item_items_item_workbook_functions_imtan_im_tan_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetBackingStor m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsImtanImTanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_int_post_request_body.go b/drives/item_items_item_workbook_functions_int_post_request_body.go index 7653a7649d7..e99ce2360a5 100644 --- a/drives/item_items_item_workbook_functions_int_post_request_body.go +++ b/drives/item_items_item_workbook_functions_int_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIntPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_intrate_int_rate_post_request_body.go b/drives/item_items_item_workbook_functions_intrate_int_rate_post_request_body.go index d79094b2dd2..56f413cf34a 100644 --- a/drives/item_items_item_workbook_functions_intrate_int_rate_post_request_body.go +++ b/drives/item_items_item_workbook_functions_intrate_int_rate_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBacking return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis() func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBacking m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsIntrateIntRatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ipmt_post_request_body.go b/drives/item_items_item_workbook_functions_ipmt_post_request_body.go index 641f2ca4059..9c5ab92df06 100644 --- a/drives/item_items_item_workbook_functions_ipmt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ipmt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsIpmtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_irr_post_request_body.go b/drives/item_items_item_workbook_functions_irr_post_request_body.go index 0754471b7ab..5ccf5fd8990 100644 --- a/drives/item_items_item_workbook_functions_irr_post_request_body.go +++ b/drives/item_items_item_workbook_functions_irr_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) SetBackingStore(value m.backingStore = value } // SetGuess sets the guess property value. The guess property -func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsIrrPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_iserr_is_err_post_request_body.go b/drives/item_items_item_workbook_functions_iserr_is_err_post_request_body.go index 33d57177a99..296b60223b8 100644 --- a/drives/item_items_item_workbook_functions_iserr_is_err_post_request_body.go +++ b/drives/item_items_item_workbook_functions_iserr_is_err_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetBackingStor m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIserrIsErrPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_iserror_is_error_post_request_body.go b/drives/item_items_item_workbook_functions_iserror_is_error_post_request_body.go index 40322ad3ea4..d6c0520bbec 100644 --- a/drives/item_items_item_workbook_functions_iserror_is_error_post_request_body.go +++ b/drives/item_items_item_workbook_functions_iserror_is_error_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetBacking m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_iseven_is_even_post_request_body.go b/drives/item_items_item_workbook_functions_iseven_is_even_post_request_body.go index 414fed4e755..eec38b40a09 100644 --- a/drives/item_items_item_workbook_functions_iseven_is_even_post_request_body.go +++ b/drives/item_items_item_workbook_functions_iseven_is_even_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetBackingSt m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isformula_is_formula_post_request_body.go b/drives/item_items_item_workbook_functions_isformula_is_formula_post_request_body.go index f2b34d6994c..7130e8f3782 100644 --- a/drives/item_items_item_workbook_functions_isformula_is_formula_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isformula_is_formula_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetBac m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_islogical_is_logical_post_request_body.go b/drives/item_items_item_workbook_functions_islogical_is_logical_post_request_body.go index 45c43ad923e..5e3df0d447d 100644 --- a/drives/item_items_item_workbook_functions_islogical_is_logical_post_request_body.go +++ b/drives/item_items_item_workbook_functions_islogical_is_logical_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetBac m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isna_is_n_a_post_request_body.go b/drives/item_items_item_workbook_functions_isna_is_n_a_post_request_body.go index 10120b9309d..7a446d0f862 100644 --- a/drives/item_items_item_workbook_functions_isna_is_n_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isna_is_n_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetBackingStore( m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsnaIsNAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go b/drives/item_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go index de38d83e93e..d56b2447617 100644 --- a/drives/item_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetBac m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isnumber_is_number_post_request_body.go b/drives/item_items_item_workbook_functions_isnumber_is_number_post_request_body.go index b6f9c0c47f3..bc69b9bb4d9 100644 --- a/drives/item_items_item_workbook_functions_isnumber_is_number_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isnumber_is_number_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetBacki m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go b/drives/item_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go index b1d712ad66e..a2b4aba50a5 100644 --- a/drives/item_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go +++ b/drives/item_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) Se m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isodd_is_odd_post_request_body.go b/drives/item_items_item_workbook_functions_isodd_is_odd_post_request_body.go index 8c4bc2fabf6..a60b58bd4f8 100644 --- a/drives/item_items_item_workbook_functions_isodd_is_odd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isodd_is_odd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetBackingStor m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsoddIsOddPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go b/drives/item_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go index 309c84daf44..2f203c80187 100644 --- a/drives/item_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetB return m.backingStore } // GetDate gets the date property value. The date property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("date") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetD func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["date"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetB m.backingStore = value } // SetDate sets the date property value. The date property -func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("date", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ispmt_post_request_body.go b/drives/item_items_item_workbook_functions_ispmt_post_request_body.go index 91615c868d8..e5ae9328277 100644 --- a/drives/item_items_item_workbook_functions_ispmt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ispmt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsIspmtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_isref_post_request_body.go b/drives/item_items_item_workbook_functions_isref_post_request_body.go index 59415d30f89..bfcb76bc99d 100644 --- a/drives/item_items_item_workbook_functions_isref_post_request_body.go +++ b/drives/item_items_item_workbook_functions_isref_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) SetBackingStore(val m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIsrefPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_istext_is_text_post_request_body.go b/drives/item_items_item_workbook_functions_istext_is_text_post_request_body.go index a573a9730ec..0308783fbb1 100644 --- a/drives/item_items_item_workbook_functions_istext_is_text_post_request_body.go +++ b/drives/item_items_item_workbook_functions_istext_is_text_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetBackingSt m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsIstextIsTextPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_kurt_post_request_body.go b/drives/item_items_item_workbook_functions_kurt_post_request_body.go index 14b1d4c8151..1792748d352 100644 --- a/drives/item_items_item_workbook_functions_kurt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_kurt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsKurtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_large_post_request_body.go b/drives/item_items_item_workbook_functions_large_post_request_body.go index cde8496f027..b8db45d493a 100644 --- a/drives/item_items_item_workbook_functions_large_post_request_body.go +++ b/drives/item_items_item_workbook_functions_large_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetAdditionalData() return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetAdditionalData(v } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetBackingStore(val m.backingStore = value } // SetK sets the k property value. The k property -func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsLargePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lcm_post_request_body.go b/drives/item_items_item_workbook_functions_lcm_post_request_body.go index 36d25c9bb95..1c8265e608d 100644 --- a/drives/item_items_item_workbook_functions_lcm_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lcm_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLcmPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_left_post_request_body.go b/drives/item_items_item_workbook_functions_left_post_request_body.go index b127679f69d..cb5ae98dca7 100644 --- a/drives/item_items_item_workbook_functions_left_post_request_body.go +++ b/drives/item_items_item_workbook_functions_left_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsLeftPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_leftb_post_request_body.go b/drives/item_items_item_workbook_functions_leftb_post_request_body.go index 509ede77fd8..17cb8fa0e6f 100644 --- a/drives/item_items_item_workbook_functions_leftb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_leftb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsLeftbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_len_post_request_body.go b/drives/item_items_item_workbook_functions_len_post_request_body.go index a57634bdf31..2175d7b41da 100644 --- a/drives/item_items_item_workbook_functions_len_post_request_body.go +++ b/drives/item_items_item_workbook_functions_len_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) SetBackingStore(value m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLenPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lenb_post_request_body.go b/drives/item_items_item_workbook_functions_lenb_post_request_body.go index 5b37acc64d8..7bac87f20ce 100644 --- a/drives/item_items_item_workbook_functions_lenb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lenb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLenbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ln_post_request_body.go b/drives/item_items_item_workbook_functions_ln_post_request_body.go index 13db63a2676..3f0e92a7e83 100644 --- a/drives/item_items_item_workbook_functions_ln_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ln_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) GetBackingStore()(ie86 func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLnPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_log10_post_request_body.go b/drives/item_items_item_workbook_functions_log10_post_request_body.go index ccef334f852..0a02a907a57 100644 --- a/drives/item_items_item_workbook_functions_log10_post_request_body.go +++ b/drives/item_items_item_workbook_functions_log10_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLog10PostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_log_post_request_body.go b/drives/item_items_item_workbook_functions_log_post_request_body.go index b83d715a9e2..83dc62387c8 100644 --- a/drives/item_items_item_workbook_functions_log_post_request_body.go +++ b/drives/item_items_item_workbook_functions_log_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetBase gets the base property value. The base property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("base") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(ie233ee762e func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["base"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) SetBackingStore(value m.backingStore = value } // SetBase sets the base property value. The base property -func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("base", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsLogPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go b/drives/item_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go index 27861e2f0e1..a18508384ed 100644 --- a/drives/item_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go b/drives/item_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go index f60029c4ed6..1f91fa6018c 100644 --- a/drives/item_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) Se m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lookup_post_request_body.go b/drives/item_items_item_workbook_functions_lookup_post_request_body.go index 15ca09370a2..2272d8b0dd1 100644 --- a/drives/item_items_item_workbook_functions_lookup_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lookup_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["resultVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetResultVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetResultVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupVector gets the lookupVector property value. The lookupVector property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetResultVector gets the resultVector property value. The resultVector property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("resultVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetBackingStore(va m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetLookupVector sets the lookupVector property value. The lookupVector property -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupVector", value) if err != nil { panic(err) } } // SetResultVector sets the resultVector property value. The resultVector property -func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("resultVector", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsLookupPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_lower_post_request_body.go b/drives/item_items_item_workbook_functions_lower_post_request_body.go index 4a0c6fdadfb..965473f02f3 100644 --- a/drives/item_items_item_workbook_functions_lower_post_request_body.go +++ b/drives/item_items_item_workbook_functions_lower_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) SetBackingStore(val m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsLowerPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_match_post_request_body.go b/drives/item_items_item_workbook_functions_match_post_request_body.go index 18ac29fcbb0..7191b6a2e14 100644 --- a/drives/item_items_item_workbook_functions_match_post_request_body.go +++ b/drives/item_items_item_workbook_functions_match_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["matchType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMatchType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMatchType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupArray gets the lookupArray property value. The lookupArray property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMatchType gets the matchType property value. The matchType property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("matchType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetBackingStore(val m.backingStore = value } // SetLookupArray sets the lookupArray property value. The lookupArray property -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupArray", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetMatchType sets the matchType property value. The matchType property -func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("matchType", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsMatchPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_max_post_request_body.go b/drives/item_items_item_workbook_functions_max_post_request_body.go index 99a7b17a936..c0d9cf01d4d 100644 --- a/drives/item_items_item_workbook_functions_max_post_request_body.go +++ b/drives/item_items_item_workbook_functions_max_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMaxPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_maxa_max_a_post_request_body.go b/drives/item_items_item_workbook_functions_maxa_max_a_post_request_body.go index 83c68801b4b..46868b19bac 100644 --- a/drives/item_items_item_workbook_functions_maxa_max_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_maxa_max_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetBackingStore( m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMaxaMaxAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mduration_post_request_body.go b/drives/item_items_item_workbook_functions_mduration_post_request_body.go index 1cfcf910e5b..e5132d5aa43 100644 --- a/drives/item_items_item_workbook_functions_mduration_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mduration_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBackingStore return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(ie2 func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBackingStore m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsMdurationPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_median_post_request_body.go b/drives/item_items_item_workbook_functions_median_post_request_body.go index 7fce82bc206..3050e0bb8d2 100644 --- a/drives/item_items_item_workbook_functions_median_post_request_body.go +++ b/drives/item_items_item_workbook_functions_median_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) SetBackingStore(va m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMedianPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mid_post_request_body.go b/drives/item_items_item_workbook_functions_mid_post_request_body.go index 0d4a04df58c..aa70ff6610d 100644 --- a/drives/item_items_item_workbook_functions_mid_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mid_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsMidPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_midb_post_request_body.go b/drives/item_items_item_workbook_functions_midb_post_request_body.go index 1b87133fedc..8b6aa43ab7b 100644 --- a/drives/item_items_item_workbook_functions_midb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_midb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsMidbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_min_post_request_body.go b/drives/item_items_item_workbook_functions_min_post_request_body.go index cf9bf2d2245..608ed298423 100644 --- a/drives/item_items_item_workbook_functions_min_post_request_body.go +++ b/drives/item_items_item_workbook_functions_min_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mina_min_a_post_request_body.go b/drives/item_items_item_workbook_functions_mina_min_a_post_request_body.go index da4421d17fa..63b7391559c 100644 --- a/drives/item_items_item_workbook_functions_mina_min_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mina_min_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetBackingStore( m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMinaMinAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_minute_post_request_body.go b/drives/item_items_item_workbook_functions_minute_post_request_body.go index cb10658de5b..f3c7af0d0c4 100644 --- a/drives/item_items_item_workbook_functions_minute_post_request_body.go +++ b/drives/item_items_item_workbook_functions_minute_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) SetBackingStore(va m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMinutePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mirr_post_request_body.go b/drives/item_items_item_workbook_functions_mirr_post_request_body.go index 1d3e8843848..00603b7fb45 100644 --- a/drives/item_items_item_workbook_functions_mirr_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mirr_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["financeRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFinanceRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFinanceRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["reinvestRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReinvestRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReinvestRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFinanceRate gets the financeRate property value. The financeRate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("financeRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetReinvestRate gets the reinvestRate property value. The reinvestRate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reinvestRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFinanceRate sets the financeRate property value. The financeRate property -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("financeRate", value) if err != nil { panic(err) } } // SetReinvestRate sets the reinvestRate property value. The reinvestRate property -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reinvestRate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsMirrPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mod_post_request_body.go b/drives/item_items_item_workbook_functions_mod_post_request_body.go index 89a8c848dae..cc2822fb695 100644 --- a/drives/item_items_item_workbook_functions_mod_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mod_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetDivisor gets the divisor property value. The divisor property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("divisor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(ie233ee7 func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["divisor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDivisor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDivisor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) SetBackingStore(value m.backingStore = value } // SetDivisor sets the divisor property value. The divisor property -func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("divisor", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsModPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_month_post_request_body.go b/drives/item_items_item_workbook_functions_month_post_request_body.go index ca34127d4f3..88f03c8e61e 100644 --- a/drives/item_items_item_workbook_functions_month_post_request_body.go +++ b/drives/item_items_item_workbook_functions_month_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) SetBackingStore(val m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMonthPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_mround_post_request_body.go b/drives/item_items_item_workbook_functions_mround_post_request_body.go index c2bcc374343..fd6332e1d1f 100644 --- a/drives/item_items_item_workbook_functions_mround_post_request_body.go +++ b/drives/item_items_item_workbook_functions_mround_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["multiple"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMultiple(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMultiple(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMultiple gets the multiple property value. The multiple property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("multiple") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) SetBackingStore(va m.backingStore = value } // SetMultiple sets the multiple property value. The multiple property -func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("multiple", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsMroundPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go b/drives/item_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go index 80bb8ae22ef..43ed27e1fe2 100644 --- a/drives/item_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go +++ b/drives/item_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) Se m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_n_post_request_body.go b/drives/item_items_item_workbook_functions_n_post_request_body.go index 1a51a3fd668..9389d1f4b1c 100644 --- a/drives/item_items_item_workbook_functions_n_post_request_body.go +++ b/drives/item_items_item_workbook_functions_n_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) GetBackingStore()(ie867 func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) SetBackingStore(value i m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsNPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go b/drives/item_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go index 8440ee0ccfe..14c3ba5349b 100644 --- a/drives/item_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberF"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberF(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberF(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberF gets the numberF property value. The numberF property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberF") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberF sets the numberF property value. The numberF property -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberF", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBodyable ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go b/drives/item_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go index 3900d5638ab..0cb99a9b078 100644 --- a/drives/item_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go +++ b/drives/item_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostReque return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostReque func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostReque m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_networkdays_network_days_post_request_body.go b/drives/item_items_item_workbook_functions_networkdays_network_days_post_request_body.go index ce7dc7f77de..a8b889bcc4a 100644 --- a/drives/item_items_item_workbook_functions_networkdays_network_days_post_request_body.go +++ b/drives/item_items_item_workbook_functions_networkdays_network_days_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) Ge return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) Se m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_nominal_post_request_body.go b/drives/item_items_item_workbook_functions_nominal_post_request_body.go index dd12fdc9471..961e0cbac05 100644 --- a/drives/item_items_item_workbook_functions_nominal_post_request_body.go +++ b/drives/item_items_item_workbook_functions_nominal_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetBackingStore() return m.backingStore } // GetEffectRate gets the effectRate property value. The effectRate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("effectRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(i func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["effectRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEffectRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEffectRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) SetBackingStore(v m.backingStore = value } // SetEffectRate sets the effectRate property value. The effectRate property -func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("effectRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsNominalPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go b/drives/item_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go index a5410248c37..bf3ddd9bbee 100644 --- a/drives/item_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetBac return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCum func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetBac m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go b/drives/item_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go index dce930341cb..7f8b21df1ed 100644 --- a/drives/item_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetBacki m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go b/drives/item_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go index ee1c44e1f06..7f5f8e10808 100644 --- a/drives/item_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) Ge return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["z"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetZ(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetZ(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetZ gets the z property value. The z property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("z") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) Se m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetZ sets the z property value. The z property -func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("z", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go b/drives/item_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go index 0934a691ac3..08f5122c997 100644 --- a/drives/item_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetB m.backingStore = value } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_not_post_request_body.go b/drives/item_items_item_workbook_functions_not_post_request_body.go index aa53d6aa10f..182a77d43de 100644 --- a/drives/item_items_item_workbook_functions_not_post_request_body.go +++ b/drives/item_items_item_workbook_functions_not_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logical"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogical(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogical(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogical gets the logical property value. The logical property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logical") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) SetBackingStore(value m.backingStore = value } // SetLogical sets the logical property value. The logical property -func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logical", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsNotPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_nper_post_request_body.go b/drives/item_items_item_workbook_functions_nper_post_request_body.go index 82aa6a25bb4..0362def42b9 100644 --- a/drives/item_items_item_workbook_functions_nper_post_request_body.go +++ b/drives/item_items_item_workbook_functions_nper_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsNperPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_npv_post_request_body.go b/drives/item_items_item_workbook_functions_npv_post_request_body.go index a7171016a4a..2ed4f135060 100644 --- a/drives/item_items_item_workbook_functions_npv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_npv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) SetBackingStore(value m.backingStore = value } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsNpvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_numbervalue_number_value_post_request_body.go b/drives/item_items_item_workbook_functions_numbervalue_number_value_post_request_body.go index b3ece66fbc0..d0da4130640 100644 --- a/drives/item_items_item_workbook_functions_numbervalue_number_value_post_request_body.go +++ b/drives/item_items_item_workbook_functions_numbervalue_number_value_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) Ge return m.backingStore } // GetDecimalSeparator gets the decimalSeparator property value. The decimalSeparator property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["groupSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGroupSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGroupSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGroupSeparator gets the groupSeparator property value. The groupSeparator property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("groupSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) Se m.backingStore = value } // SetDecimalSeparator sets the decimalSeparator property value. The decimalSeparator property -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalSeparator", value) if err != nil { panic(err) } } // SetGroupSeparator sets the groupSeparator property value. The groupSeparator property -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("groupSeparator", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go b/drives/item_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go index a779a8877e9..9e86e82f933 100644 --- a/drives/item_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go b/drives/item_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go index 4d42a7cb1e6..bf3a0854f2f 100644 --- a/drives/item_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go b/drives/item_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go index 0132dd17edf..58294e3f530 100644 --- a/drives/item_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_odd_post_request_body.go b/drives/item_items_item_workbook_functions_odd_post_request_body.go index 9eeec79e4d8..718467d72b4 100644 --- a/drives/item_items_item_workbook_functions_odd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_odd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsOddPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go b/drives/item_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go index 86fa21e894d..5b601a0a5c2 100644 --- a/drives/item_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type ItemItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go b/drives/item_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go index 4c01bc05033..3c52ac0bbcf 100644 --- a/drives/item_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type ItemItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go b/drives/item_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go index a1e9290fa7b..067610a2441 100644 --- a/drives/item_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type ItemItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go b/drives/item_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go index 7ae8a4f7971..68bab568321 100644 --- a/drives/item_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go +++ b/drives/item_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type ItemItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_or_post_request_body.go b/drives/item_items_item_workbook_functions_or_post_request_body.go index 6e2264d1ff6..98938a346f0 100644 --- a/drives/item_items_item_workbook_functions_or_post_request_body.go +++ b/drives/item_items_item_workbook_functions_or_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) GetBackingStore()(ie86 func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsOrPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_pduration_post_request_body.go b/drives/item_items_item_workbook_functions_pduration_post_request_body.go index 48361691d8c..f0b42c7b997 100644 --- a/drives/item_items_item_workbook_functions_pduration_post_request_body.go +++ b/drives/item_items_item_workbook_functions_pduration_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetBackingStore m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsPdurationPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go b/drives/item_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go index 5dd7e56ab8b..69925563566 100644 --- a/drives/item_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBo return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBo func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBo } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBo m.backingStore = value } // SetK sets the k property value. The k property -func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBodyab i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go b/drives/item_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go index e3c10010bba..0a2d88b33ce 100644 --- a/drives/item_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBo return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBo func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBo } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBo m.backingStore = value } // SetK sets the k property value. The k property -func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBodyab i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go b/drives/item_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go index d2311bc791b..db5b9ee24b3 100644 --- a/drives/item_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequest return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequest func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequest } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequest m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go b/drives/item_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go index a4aa1637e12..300fb1c13c4 100644 --- a/drives/item_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequest return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequest func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequest } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequest m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_permut_post_request_body.go b/drives/item_items_item_workbook_functions_permut_post_request_body.go index 7966208f33c..6f690157589 100644 --- a/drives/item_items_item_workbook_functions_permut_post_request_body.go +++ b/drives/item_items_item_workbook_functions_permut_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsPermutPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_permutationa_post_request_body.go b/drives/item_items_item_workbook_functions_permutationa_post_request_body.go index e870b69473b..b413f3f2430 100644 --- a/drives/item_items_item_workbook_functions_permutationa_post_request_body.go +++ b/drives/item_items_item_workbook_functions_permutationa_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetBackingSt m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsPermutationaPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_phi_post_request_body.go b/drives/item_items_item_workbook_functions_phi_post_request_body.go index dd8294e28ee..a3812669718 100644 --- a/drives/item_items_item_workbook_functions_phi_post_request_body.go +++ b/drives/item_items_item_workbook_functions_phi_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) SetBackingStore(value m.backingStore = value } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsPhiPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_pmt_post_request_body.go b/drives/item_items_item_workbook_functions_pmt_post_request_body.go index d0a53063763..61c32d0af0b 100644 --- a/drives/item_items_item_workbook_functions_pmt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_pmt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetBackingStore(value m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsPmtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go b/drives/item_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go index e90f529fa33..2d773ec27aa 100644 --- a/drives/item_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_power_post_request_body.go b/drives/item_items_item_workbook_functions_power_post_request_body.go index a39b0f67b2d..436f65c2e75 100644 --- a/drives/item_items_item_workbook_functions_power_post_request_body.go +++ b/drives/item_items_item_workbook_functions_power_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["power"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPower(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPower(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPower gets the power property value. The power property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("power") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPower sets the power property value. The power property -func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("power", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsPowerPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_ppmt_post_request_body.go b/drives/item_items_item_workbook_functions_ppmt_post_request_body.go index f2277f6693d..e7da731d7ec 100644 --- a/drives/item_items_item_workbook_functions_ppmt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_ppmt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsPpmtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_price_post_request_body.go b/drives/item_items_item_workbook_functions_price_post_request_body.go index bb9dbae12ef..dacfdf9e229 100644 --- a/drives/item_items_item_workbook_functions_price_post_request_body.go +++ b/drives/item_items_item_workbook_functions_price_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetBackingStore()(i return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(ie233ee7 func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetBackingStore(val m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type ItemItemsItemWorkbookFunctionsPricePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go b/drives/item_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go index 5c2c6411682..2c92b6beec4 100644 --- a/drives/item_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDis func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_pricemat_price_mat_post_request_body.go b/drives/item_items_item_workbook_functions_pricemat_price_mat_post_request_body.go index 3f7a7a0b736..ebf737cd48a 100644 --- a/drives/item_items_item_workbook_functions_pricemat_price_mat_post_request_body.go +++ b/drives/item_items_item_workbook_functions_pricemat_price_mat_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsPricematPriceMatPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_product_post_request_body.go b/drives/item_items_item_workbook_functions_product_post_request_body.go index 3a63a0f5160..4913ddc4380 100644 --- a/drives/item_items_item_workbook_functions_product_post_request_body.go +++ b/drives/item_items_item_workbook_functions_product_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) SetBackingStore(v m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsProductPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_proper_post_request_body.go b/drives/item_items_item_workbook_functions_proper_post_request_body.go index ade4172c1df..0cef01ad2dd 100644 --- a/drives/item_items_item_workbook_functions_proper_post_request_body.go +++ b/drives/item_items_item_workbook_functions_proper_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) SetBackingStore(va m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsProperPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_pv_post_request_body.go b/drives/item_items_item_workbook_functions_pv_post_request_body.go index af95fc276a8..5fb27f2ed5d 100644 --- a/drives/item_items_item_workbook_functions_pv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_pv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetBackingStore()(ie86 func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetBackingStore(value m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsPvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go b/drives/item_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go index f572095d3b8..e9e203bc0b0 100644 --- a/drives/item_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBodyable i i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go b/drives/item_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go index 7860a482ddd..535a502f737 100644 --- a/drives/item_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBodyable i i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_quotient_post_request_body.go b/drives/item_items_item_workbook_functions_quotient_post_request_body.go index 47fab2e312a..f3515b0df69 100644 --- a/drives/item_items_item_workbook_functions_quotient_post_request_body.go +++ b/drives/item_items_item_workbook_functions_quotient_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetBackingStore( return m.backingStore } // GetDenominator gets the denominator property value. The denominator property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("denominator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator() func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["denominator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDenominator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDenominator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numerator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumerator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumerator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumerator gets the numerator property value. The numerator property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numerator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) SetBackingStore( m.backingStore = value } // SetDenominator sets the denominator property value. The denominator property -func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("denominator", value) if err != nil { panic(err) } } // SetNumerator sets the numerator property value. The numerator property -func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numerator", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsQuotientPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_radians_post_request_body.go b/drives/item_items_item_workbook_functions_radians_post_request_body.go index b267acb4ffb..3882951ea0c 100644 --- a/drives/item_items_item_workbook_functions_radians_post_request_body.go +++ b/drives/item_items_item_workbook_functions_radians_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAdditionalData return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAdditionalData } } // SetAngle sets the angle property value. The angle property -func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type ItemItemsItemWorkbookFunctionsRadiansPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/drives/item_items_item_workbook_functions_randbetween_rand_between_post_request_body.go b/drives/item_items_item_workbook_functions_randbetween_rand_between_post_request_body.go index 7d0fc849663..fb638543b08 100644 --- a/drives/item_items_item_workbook_functions_randbetween_rand_between_post_request_body.go +++ b/drives/item_items_item_workbook_functions_randbetween_rand_between_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) Ge return m.backingStore } // GetBottom gets the bottom property value. The bottom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("bottom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) Ge func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["bottom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBottom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBottom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTop gets the top property value. The top property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("top") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) Se m.backingStore = value } // SetBottom sets the bottom property value. The bottom property -func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("bottom", value) if err != nil { panic(err) } } // SetTop sets the top property value. The top property -func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("top", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBodyable int ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go b/drives/item_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go index 518a1617588..cceb198f53c 100644 --- a/drives/item_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetBacki m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go b/drives/item_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go index 01a07dcfe1c..8859b978404 100644 --- a/drives/item_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rate_post_request_body.go b/drives/item_items_item_workbook_functions_rate_post_request_body.go index 671c90b6536..e633b1f427b 100644 --- a/drives/item_items_item_workbook_functions_rate_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rate_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsRatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_received_post_request_body.go b/drives/item_items_item_workbook_functions_received_post_request_body.go index 0e43dfad7c9..4d87679f56a 100644 --- a/drives/item_items_item_workbook_functions_received_post_request_body.go +++ b/drives/item_items_item_workbook_functions_received_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBackingStore( return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(ie func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBackingStore( m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsReceivedPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_replace_post_request_body.go b/drives/item_items_item_workbook_functions_replace_post_request_body.go index 854817bb605..0470950bd1b 100644 --- a/drives/item_items_item_workbook_functions_replace_post_request_body.go +++ b/drives/item_items_item_workbook_functions_replace_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetBackingStore(v m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumChars sets the numChars property value. The numChars property -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsReplacePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_replaceb_replace_b_post_request_body.go b/drives/item_items_item_workbook_functions_replaceb_replace_b_post_request_body.go index 86dba6f6f59..045204d2ec2 100644 --- a/drives/item_items_item_workbook_functions_replaceb_replace_b_post_request_body.go +++ b/drives/item_items_item_workbook_functions_replaceb_replace_b_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetBacki m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rept_post_request_body.go b/drives/item_items_item_workbook_functions_rept_post_request_body.go index f425d2193ad..02d3106cc62 100644 --- a/drives/item_items_item_workbook_functions_rept_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rept_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberTimes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberTimes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberTimes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberTimes gets the numberTimes property value. The numberTimes property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberTimes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumberTimes sets the numberTimes property value. The numberTimes property -func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberTimes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsReptPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_right_post_request_body.go b/drives/item_items_item_workbook_functions_right_post_request_body.go index e59dd568569..460f27a933b 100644 --- a/drives/item_items_item_workbook_functions_right_post_request_body.go +++ b/drives/item_items_item_workbook_functions_right_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRightPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rightb_post_request_body.go b/drives/item_items_item_workbook_functions_rightb_post_request_body.go index b74e6bae810..8384cff497d 100644 --- a/drives/item_items_item_workbook_functions_rightb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rightb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) SetBackingStore(va m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRightbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_roman_post_request_body.go b/drives/item_items_item_workbook_functions_roman_post_request_body.go index 28ce82cd594..9b8ef4d8ae7 100644 --- a/drives/item_items_item_workbook_functions_roman_post_request_body.go +++ b/drives/item_items_item_workbook_functions_roman_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["form"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetForm(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetForm(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetForm gets the form property value. The form property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("form") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) SetBackingStore(val m.backingStore = value } // SetForm sets the form property value. The form property -func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("form", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRomanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_round_post_request_body.go b/drives/item_items_item_workbook_functions_round_post_request_body.go index eb00bfb6794..19ad7f95048 100644 --- a/drives/item_items_item_workbook_functions_round_post_request_body.go +++ b/drives/item_items_item_workbook_functions_round_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRoundPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rounddown_round_down_post_request_body.go b/drives/item_items_item_workbook_functions_rounddown_round_down_post_request_body.go index 6c493bbbc2b..a790a7bd17f 100644 --- a/drives/item_items_item_workbook_functions_rounddown_round_down_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rounddown_round_down_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetBac func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetBac m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_roundup_round_up_post_request_body.go b/drives/item_items_item_workbook_functions_roundup_round_up_post_request_body.go index cae9b3af56d..8ef12c771e7 100644 --- a/drives/item_items_item_workbook_functions_roundup_round_up_post_request_body.go +++ b/drives/item_items_item_workbook_functions_roundup_round_up_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetBacking m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_rows_post_request_body.go b/drives/item_items_item_workbook_functions_rows_post_request_body.go index 4cddda50bcd..b667c93b814 100644 --- a/drives/item_items_item_workbook_functions_rows_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rows_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) GetAdditionalData()( return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) SetAdditionalData(va } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type ItemItemsItemWorkbookFunctionsRowsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/drives/item_items_item_workbook_functions_rri_post_request_body.go b/drives/item_items_item_workbook_functions_rri_post_request_body.go index d5cb8aa5afc..efb0590f669 100644 --- a/drives/item_items_item_workbook_functions_rri_post_request_body.go +++ b/drives/item_items_item_workbook_functions_rri_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetBackingStore(value m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsRriPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sec_post_request_body.go b/drives/item_items_item_workbook_functions_sec_post_request_body.go index a04fddf07ab..7b1ceac2fa7 100644 --- a/drives/item_items_item_workbook_functions_sec_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sec_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSecPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sech_post_request_body.go b/drives/item_items_item_workbook_functions_sech_post_request_body.go index 342d58c55bf..ad64f79d6db 100644 --- a/drives/item_items_item_workbook_functions_sech_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sech_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSechPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_second_post_request_body.go b/drives/item_items_item_workbook_functions_second_post_request_body.go index f4cfd90faa6..af8fd60ef3b 100644 --- a/drives/item_items_item_workbook_functions_second_post_request_body.go +++ b/drives/item_items_item_workbook_functions_second_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) SetBackingStore(va m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSecondPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_seriessum_series_sum_post_request_body.go b/drives/item_items_item_workbook_functions_seriessum_series_sum_post_request_body.go index 89dba9a87c5..5e71ef898c5 100644 --- a/drives/item_items_item_workbook_functions_seriessum_series_sum_post_request_body.go +++ b/drives/item_items_item_workbook_functions_seriessum_series_sum_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetBac return m.backingStore } // GetCoefficients gets the coefficients property value. The coefficients property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coefficients") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoe func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["coefficients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoefficients(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoefficients(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["m"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetM(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetM(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetM gets the m property value. The m property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("m") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetBac m.backingStore = value } // SetCoefficients sets the coefficients property value. The coefficients property -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coefficients", value) if err != nil { panic(err) } } // SetM sets the m property value. The m property -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("m", value) if err != nil { panic(err) } } // SetN sets the n property value. The n property -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sheet_post_request_body.go b/drives/item_items_item_workbook_functions_sheet_post_request_body.go index a817faf51b7..c619f982f7c 100644 --- a/drives/item_items_item_workbook_functions_sheet_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sheet_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) SetBackingStore(val m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSheetPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sheets_post_request_body.go b/drives/item_items_item_workbook_functions_sheets_post_request_body.go index 75a8bdc7246..17d13e05f5f 100644 --- a/drives/item_items_item_workbook_functions_sheets_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sheets_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) SetBackingStore(va m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSheetsPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sign_post_request_body.go b/drives/item_items_item_workbook_functions_sign_post_request_body.go index 388f88d8907..b32f84bbd72 100644 --- a/drives/item_items_item_workbook_functions_sign_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sign_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSignPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sin_post_request_body.go b/drives/item_items_item_workbook_functions_sin_post_request_body.go index ab0128efba3..c0e034dcaf1 100644 --- a/drives/item_items_item_workbook_functions_sin_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sin_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSinPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sinh_post_request_body.go b/drives/item_items_item_workbook_functions_sinh_post_request_body.go index 76d6fd237ae..fe0336febb2 100644 --- a/drives/item_items_item_workbook_functions_sinh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sinh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSinhPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_skew_p_post_request_body.go b/drives/item_items_item_workbook_functions_skew_p_post_request_body.go index 67e2470dd14..52a95dd35da 100644 --- a/drives/item_items_item_workbook_functions_skew_p_post_request_body.go +++ b/drives/item_items_item_workbook_functions_skew_p_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetBackingStore()( func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetBackingStore(va m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSkew_pPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_skew_post_request_body.go b/drives/item_items_item_workbook_functions_skew_post_request_body.go index d9a042acfa0..a803911f699 100644 --- a/drives/item_items_item_workbook_functions_skew_post_request_body.go +++ b/drives/item_items_item_workbook_functions_skew_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSkewPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sln_post_request_body.go b/drives/item_items_item_workbook_functions_sln_post_request_body.go index e813665585f..05db26d0c47 100644 --- a/drives/item_items_item_workbook_functions_sln_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sln_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(ie233ee762e func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetBackingStore(value m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsSlnPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_small_post_request_body.go b/drives/item_items_item_workbook_functions_small_post_request_body.go index 1442a198567..3097bd3284f 100644 --- a/drives/item_items_item_workbook_functions_small_post_request_body.go +++ b/drives/item_items_item_workbook_functions_small_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetAdditionalData() return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetAdditionalData(v } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetBackingStore(val m.backingStore = value } // SetK sets the k property value. The k property -func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsSmallPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sqrt_post_request_body.go b/drives/item_items_item_workbook_functions_sqrt_post_request_body.go index 378b172a05d..b8868ff7735 100644 --- a/drives/item_items_item_workbook_functions_sqrt_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSqrtPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go b/drives/item_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go index 8c781cf5400..1134ae3a6ad 100644 --- a/drives/item_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetBackingSt m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_standardize_post_request_body.go b/drives/item_items_item_workbook_functions_standardize_post_request_body.go index 525880a2d8a..82563c8d961 100644 --- a/drives/item_items_item_workbook_functions_standardize_post_request_body.go +++ b/drives/item_items_item_workbook_functions_standardize_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetBackingSto func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetBackingSto m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsStandardizePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go b/drives/item_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go index e0ac85fa631..56fc676fe38 100644 --- a/drives/item_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go +++ b/drives/item_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetBacking m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go b/drives/item_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go index 2ebad32cbfb..7e01c556645 100644 --- a/drives/item_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go +++ b/drives/item_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetBacking m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go b/drives/item_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go index 36614c24a6a..2aea7ca271c 100644 --- a/drives/item_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetBackingSt m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsStdevaStDevAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go b/drives/item_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go index 418cfb41d08..9f971df8b95 100644 --- a/drives/item_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetBacking m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_substitute_post_request_body.go b/drives/item_items_item_workbook_functions_substitute_post_request_body.go index 6d0546c5dca..244394592b7 100644 --- a/drives/item_items_item_workbook_functions_substitute_post_request_body.go +++ b/drives/item_items_item_workbook_functions_substitute_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["instanceNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInstanceNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInstanceNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInstanceNum gets the instanceNum property value. The instanceNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("instanceNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetBackingStor m.backingStore = value } // SetInstanceNum sets the instanceNum property value. The instanceNum property -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("instanceNum", value) if err != nil { panic(err) } } // SetNewText sets the newText property value. The newText property -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsSubstitutePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_subtotal_post_request_body.go b/drives/item_items_item_workbook_functions_subtotal_post_request_body.go index 2ad72f8eddf..95c01f1ccae 100644 --- a/drives/item_items_item_workbook_functions_subtotal_post_request_body.go +++ b/drives/item_items_item_workbook_functions_subtotal_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["functionNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFunctionNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFunctionNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFunctionNum gets the functionNum property value. The functionNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("functionNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetBackingStore( m.backingStore = value } // SetFunctionNum sets the functionNum property value. The functionNum property -func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("functionNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsSubtotalPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sum_post_request_body.go b/drives/item_items_item_workbook_functions_sum_post_request_body.go index ef610d33861..3b47220db3a 100644 --- a/drives/item_items_item_workbook_functions_sum_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sum_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSumPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sumif_sum_if_post_request_body.go b/drives/item_items_item_workbook_functions_sumif_sum_if_post_request_body.go index 858ea020a96..80765b051c1 100644 --- a/drives/item_items_item_workbook_functions_sumif_sum_if_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sumif_sum_if_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetBackingStor return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()( func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetBackingStor m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) } } // SetSumRange sets the sumRange property value. The sumRange property -func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsSumifSumIfPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go b/drives/item_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go index 7c1953c1f08..88182a7c094 100644 --- a/drives/item_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetBackingSt m.backingStore = value } // SetSumRange sets the sumRange property value. The sumRange property -func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go b/drives/item_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go index 5d4602697ff..eb007c5c4f3 100644 --- a/drives/item_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go +++ b/drives/item_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsSumsqSumSqPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_syd_post_request_body.go b/drives/item_items_item_workbook_functions_syd_post_request_body.go index 3b380d0fe7f..fedb2cacdbc 100644 --- a/drives/item_items_item_workbook_functions_syd_post_request_body.go +++ b/drives/item_items_item_workbook_functions_syd_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(ie233ee762e func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetBackingStore(value m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsSydPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go b/drives/item_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go index b72b602c99c..b71d6fc3cdc 100644 --- a/drives/item_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetBac return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDeg func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetBac m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go b/drives/item_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go index ca9d09f421c..036aedd2a2a 100644 --- a/drives/item_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetBac return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDeg func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetBac m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_dist_t_dist_post_request_body.go b/drives/item_items_item_workbook_functions_t_dist_t_dist_post_request_body.go index 9e9699c1083..731538325cc 100644 --- a/drives/item_items_item_workbook_functions_t_dist_t_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_dist_t_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetBackingSt return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedo func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetBackingSt m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsT_distT_DistPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go b/drives/item_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go index bbd2f73dd1f..196501d53d6 100644 --- a/drives/item_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetBacki return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFr func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetBacki m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_inv_t_inv_post_request_body.go b/drives/item_items_item_workbook_functions_t_inv_t_inv_post_request_body.go index 8d1992fe688..50a01d0a6fa 100644 --- a/drives/item_items_item_workbook_functions_t_inv_t_inv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_inv_t_inv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetBackingStor return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom( func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetBackingStor m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsT_invT_InvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_t_post_request_body.go b/drives/item_items_item_workbook_functions_t_post_request_body.go index 7e1e6ad94d7..7d8908f6929 100644 --- a/drives/item_items_item_workbook_functions_t_post_request_body.go +++ b/drives/item_items_item_workbook_functions_t_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) GetBackingStore()(ie867 func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) SetBackingStore(value i m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_tan_post_request_body.go b/drives/item_items_item_workbook_functions_tan_post_request_body.go index dd33825741a..cd5ab965598 100644 --- a/drives/item_items_item_workbook_functions_tan_post_request_body.go +++ b/drives/item_items_item_workbook_functions_tan_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) SetBackingStore(value m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTanPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_tanh_post_request_body.go b/drives/item_items_item_workbook_functions_tanh_post_request_body.go index 96c7ed7675a..ac2153341a9 100644 --- a/drives/item_items_item_workbook_functions_tanh_post_request_body.go +++ b/drives/item_items_item_workbook_functions_tanh_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTanhPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go b/drives/item_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go index 202f12880fd..3b97d15c499 100644 --- a/drives/item_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go +++ b/drives/item_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetBacking return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscoun func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetBacking m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go b/drives/item_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go index 0fd25b5a562..2cb0e26ae29 100644 --- a/drives/item_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go +++ b/drives/item_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetB return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetD func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetB m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go b/drives/item_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go index ea12e6aed2f..1cabdd3d609 100644 --- a/drives/item_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go +++ b/drives/item_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetB func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetB m.backingStore = value } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_text_post_request_body.go b/drives/item_items_item_workbook_functions_text_post_request_body.go index 60f015b5cbe..54c1374aa7e 100644 --- a/drives/item_items_item_workbook_functions_text_post_request_body.go +++ b/drives/item_items_item_workbook_functions_text_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["formatText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormatText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFormatText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFormatText gets the formatText property value. The formatText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formatText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetFormatText sets the formatText property value. The formatText property -func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formatText", value) if err != nil { panic(err) } } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsTextPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_time_post_request_body.go b/drives/item_items_item_workbook_functions_time_post_request_body.go index 723dc1f80c0..4a67e9753e3 100644 --- a/drives/item_items_item_workbook_functions_time_post_request_body.go +++ b/drives/item_items_item_workbook_functions_time_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["hour"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHour(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHour(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["minute"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinute(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinute(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["second"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSecond(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSecond(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHour gets the hour property value. The hour property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("hour") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMinute gets the minute property value. The minute property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minute") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSecond gets the second property value. The second property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("second") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetHour sets the hour property value. The hour property -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("hour", value) if err != nil { panic(err) } } // SetMinute sets the minute property value. The minute property -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minute", value) if err != nil { panic(err) } } // SetSecond sets the second property value. The second property -func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("second", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsTimePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_timevalue_post_request_body.go b/drives/item_items_item_workbook_functions_timevalue_post_request_body.go index 2328f2f1076..d81b710df64 100644 --- a/drives/item_items_item_workbook_functions_timevalue_post_request_body.go +++ b/drives/item_items_item_workbook_functions_timevalue_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetBackingStore func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["timeText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTimeText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTimeText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTimeText gets the timeText property value. The timeText property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("timeText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetBackingStore m.backingStore = value } // SetTimeText sets the timeText property value. The timeText property -func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("timeText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTimevaluePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_trim_post_request_body.go b/drives/item_items_item_workbook_functions_trim_post_request_body.go index 1b2641a3f0c..0737ce15de4 100644 --- a/drives/item_items_item_workbook_functions_trim_post_request_body.go +++ b/drives/item_items_item_workbook_functions_trim_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTrimPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go b/drives/item_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go index d63f2c7aee2..826f4476de8 100644 --- a/drives/item_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go +++ b/drives/item_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetAddit return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetBacki func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["percent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPercent(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPercent(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPercent gets the percent property value. The percent property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("percent") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetAddit } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetBacki m.backingStore = value } // SetPercent sets the percent property value. The percent property -func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("percent", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type ItemItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBodyable interface i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_trunc_post_request_body.go b/drives/item_items_item_workbook_functions_trunc_post_request_body.go index 80ebf1a0286..1ed42a9f674 100644 --- a/drives/item_items_item_workbook_functions_trunc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_trunc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) SetBackingStore(val m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsTruncPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_type_post_request_body.go b/drives/item_items_item_workbook_functions_type_post_request_body.go index 20cabeffbed..0a44d846623 100644 --- a/drives/item_items_item_workbook_functions_type_post_request_body.go +++ b/drives/item_items_item_workbook_functions_type_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) SetBackingStore(valu m.backingStore = value } // SetValue sets the value property value. The value property -func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsTypePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_unichar_post_request_body.go b/drives/item_items_item_workbook_functions_unichar_post_request_body.go index 1085e635b1e..42de919cc0c 100644 --- a/drives/item_items_item_workbook_functions_unichar_post_request_body.go +++ b/drives/item_items_item_workbook_functions_unichar_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) SetBackingStore(v m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsUnicharPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_unicode_post_request_body.go b/drives/item_items_item_workbook_functions_unicode_post_request_body.go index d69027654b6..8eded3dcab8 100644 --- a/drives/item_items_item_workbook_functions_unicode_post_request_body.go +++ b/drives/item_items_item_workbook_functions_unicode_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) SetBackingStore(v m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsUnicodePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_upper_post_request_body.go b/drives/item_items_item_workbook_functions_upper_post_request_body.go index 6c331f0a4ea..16374647951 100644 --- a/drives/item_items_item_workbook_functions_upper_post_request_body.go +++ b/drives/item_items_item_workbook_functions_upper_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) SetBackingStore(val m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsUpperPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_usdollar_post_request_body.go b/drives/item_items_item_workbook_functions_usdollar_post_request_body.go index 9e05f9f5461..bd2099cb3b7 100644 --- a/drives/item_items_item_workbook_functions_usdollar_post_request_body.go +++ b/drives/item_items_item_workbook_functions_usdollar_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetBackingStore( return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(ie func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetBackingStore( m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsUsdollarPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_value_post_request_body.go b/drives/item_items_item_workbook_functions_value_post_request_body.go index 87d88c0ef1b..c7c111a35a7 100644 --- a/drives/item_items_item_workbook_functions_value_post_request_body.go +++ b/drives/item_items_item_workbook_functions_value_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) GetBackingStore()(i func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) SetBackingStore(val m.backingStore = value } // SetText sets the text property value. The text property -func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsValuePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_var_p_var_p_post_request_body.go b/drives/item_items_item_workbook_functions_var_p_var_p_post_request_body.go index 9601947e046..968ca77eff7 100644 --- a/drives/item_items_item_workbook_functions_var_p_var_p_post_request_body.go +++ b/drives/item_items_item_workbook_functions_var_p_var_p_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsVar_pVar_PPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_var_s_var_s_post_request_body.go b/drives/item_items_item_workbook_functions_var_s_var_s_post_request_body.go index 7be5efd459c..add3690dbc1 100644 --- a/drives/item_items_item_workbook_functions_var_s_var_s_post_request_body.go +++ b/drives/item_items_item_workbook_functions_var_s_var_s_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsVar_sVar_SPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_vara_var_a_post_request_body.go b/drives/item_items_item_workbook_functions_vara_var_a_post_request_body.go index 65ddfb933b5..9c6f7bdb50c 100644 --- a/drives/item_items_item_workbook_functions_vara_var_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_vara_var_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetBackingStore( func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetBackingStore( m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsVaraVarAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_varpa_var_p_a_post_request_body.go b/drives/item_items_item_workbook_functions_varpa_var_p_a_post_request_body.go index 116972bd6f6..4e16cf20cca 100644 --- a/drives/item_items_item_workbook_functions_varpa_var_p_a_post_request_body.go +++ b/drives/item_items_item_workbook_functions_varpa_var_p_a_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetBackingStor func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetBackingStor m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsVarpaVarPAPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_vdb_post_request_body.go b/drives/item_items_item_workbook_functions_vdb_post_request_body.go index 228ca8d27ed..ec89c8f9ae8 100644 --- a/drives/item_items_item_workbook_functions_vdb_post_request_body.go +++ b/drives/item_items_item_workbook_functions_vdb_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetBackingStore()(ie8 return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noSwitch"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoSwitch(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoSwitch(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNoSwitch gets the noSwitch property value. The noSwitch property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noSwitch") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetBackingStore(value m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetNoSwitch sets the noSwitch property value. The noSwitch property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noSwitch", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type ItemItemsItemWorkbookFunctionsVdbPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_vlookup_post_request_body.go b/drives/item_items_item_workbook_functions_vlookup_post_request_body.go index bb2e8ff3438..827b8969daf 100644 --- a/drives/item_items_item_workbook_functions_vlookup_post_request_body.go +++ b/drives/item_items_item_workbook_functions_vlookup_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetBackingStore() return m.backingStore } // GetColIndexNum gets the colIndexNum property value. The colIndexNum property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("colIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()( func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["colIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetColIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetColIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetBackingStore(v m.backingStore = value } // SetColIndexNum sets the colIndexNum property value. The colIndexNum property -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("colIndexNum", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsVlookupPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_weekday_post_request_body.go b/drives/item_items_item_workbook_functions_weekday_post_request_body.go index 99616db13b4..19b9be54295 100644 --- a/drives/item_items_item_workbook_functions_weekday_post_request_body.go +++ b/drives/item_items_item_workbook_functions_weekday_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetBackingStore() func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetBackingStore(v m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsWeekdayPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_weeknum_week_num_post_request_body.go b/drives/item_items_item_workbook_functions_weeknum_week_num_post_request_body.go index e5bd64bd1a0..a2eb899029a 100644 --- a/drives/item_items_item_workbook_functions_weeknum_week_num_post_request_body.go +++ b/drives/item_items_item_workbook_functions_weeknum_week_num_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetBacking func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetBacking m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go b/drives/item_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go index 1855fc16cbb..1d4f961ac8a 100644 --- a/drives/item_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go +++ b/drives/item_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) } } // SetAlpha sets the alpha property value. The alpha property -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type ItemItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBodyable i i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go b/drives/item_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go index dadc48a8723..7d45fa50a07 100644 --- a/drives/item_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go +++ b/drives/item_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) m.backingStore = value } // SetDays sets the days property value. The days property -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type ItemItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBodyable i ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_workday_work_day_post_request_body.go b/drives/item_items_item_workbook_functions_workday_work_day_post_request_body.go index 2c23fb11a02..b95d757c1d8 100644 --- a/drives/item_items_item_workbook_functions_workday_work_day_post_request_body.go +++ b/drives/item_items_item_workbook_functions_workday_work_day_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetBacking return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()( func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetBacking m.backingStore = value } // SetDays sets the days property value. The days property -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_xirr_post_request_body.go b/drives/item_items_item_workbook_functions_xirr_post_request_body.go index 36822a2f2bf..c0f0b8bbaa2 100644 --- a/drives/item_items_item_workbook_functions_xirr_post_request_body.go +++ b/drives/item_items_item_workbook_functions_xirr_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsXirrPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_xnpv_post_request_body.go b/drives/item_items_item_workbook_functions_xnpv_post_request_body.go index 8d5322b9a24..eed9e119e8e 100644 --- a/drives/item_items_item_workbook_functions_xnpv_post_request_body.go +++ b/drives/item_items_item_workbook_functions_xnpv_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetBackingStore()(ie return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(ie233ee76 func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsXnpvPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_xor_post_request_body.go b/drives/item_items_item_workbook_functions_xor_post_request_body.go index cd8691cb3bd..1ac8a57a3a1 100644 --- a/drives/item_items_item_workbook_functions_xor_post_request_body.go +++ b/drives/item_items_item_workbook_functions_xor_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) GetBackingStore()(ie8 func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) SetBackingStore(value m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsXorPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_year_post_request_body.go b/drives/item_items_item_workbook_functions_year_post_request_body.go index b46c66374b2..59f6ed31b99 100644 --- a/drives/item_items_item_workbook_functions_year_post_request_body.go +++ b/drives/item_items_item_workbook_functions_year_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) GetBackingStore()(ie func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) SetBackingStore(valu m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookFunctionsYearPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go b/drives/item_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go index e3c9545c256..9ff6d138b84 100644 --- a/drives/item_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go +++ b/drives/item_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDa func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetEndDate sets the endDate property value. The endDate property -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type ItemItemsItemWorkbookFunctionsYearfracYearFracPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_yield_post_request_body.go b/drives/item_items_item_workbook_functions_yield_post_request_body.go index ec77e8cc733..1a4b454c62c 100644 --- a/drives/item_items_item_workbook_functions_yield_post_request_body.go +++ b/drives/item_items_item_workbook_functions_yield_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetBackingStore()(i return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(ie233ee7 func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetBackingStore(val m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type ItemItemsItemWorkbookFunctionsYieldPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go b/drives/item_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go index 21c7f4ab8b4..d04113efaeb 100644 --- a/drives/item_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go +++ b/drives/item_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBas func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type ItemItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBodyable interfa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go b/drives/item_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go index f14130c5d59..0f1e962397d 100644 --- a/drives/item_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go +++ b/drives/item_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBacki return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBacki m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type ItemItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBodyable interface ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_functions_z_test_z_test_post_request_body.go b/drives/item_items_item_workbook_functions_z_test_z_test_post_request_body.go index 1c95da37228..ab6c97195e4 100644 --- a/drives/item_items_item_workbook_functions_z_test_z_test_post_request_body.go +++ b/drives/item_items_item_workbook_functions_z_test_z_test_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetAdditiona return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetBackingSt func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sigma"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSigma(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSigma(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSigma gets the sigma property value. The sigma property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sigma") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetAdditiona } } // SetArray sets the array property value. The array property -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetBackingSt m.backingStore = value } // SetSigma sets the sigma property value. The sigma property -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sigma", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type ItemItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_names_add_post_request_body.go b/drives/item_items_item_workbook_names_add_post_request_body.go index a3a8993d902..f8048bbcc02 100644 --- a/drives/item_items_item_workbook_names_add_post_request_body.go +++ b/drives/item_items_item_workbook_names_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) GetFieldDeserializers()(m return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) GetName()(*string) { return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) SetName(value *string)() } } // SetReference sets the reference property value. The reference property -func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type ItemItemsItemWorkbookNamesAddPostRequestBodyable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_operations_count_request_builder.go b/drives/item_items_item_workbook_operations_count_request_builder.go index bf7d886f55b..54bc7928099 100644 --- a/drives/item_items_item_workbook_operations_count_request_builder.go +++ b/drives/item_items_item_workbook_operations_count_request_builder.go @@ -12,6 +12,8 @@ type ItemItemsItemWorkbookOperationsCountRequestBuilder struct { } // ItemItemsItemWorkbookOperationsCountRequestBuilderGetQueryParameters get the number of the resource type ItemItemsItemWorkbookOperationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } @@ -27,7 +29,7 @@ type ItemItemsItemWorkbookOperationsCountRequestBuilderGetRequestConfiguration s // NewItemItemsItemWorkbookOperationsCountRequestBuilderInternal instantiates a new ItemItemsItemWorkbookOperationsCountRequestBuilder and sets the default values. func NewItemItemsItemWorkbookOperationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemItemsItemWorkbookOperationsCountRequestBuilder) { m := &ItemItemsItemWorkbookOperationsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/$count{?%24search}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/drives/item_items_item_workbook_operations_request_builder.go b/drives/item_items_item_workbook_operations_request_builder.go index 553093d4e35..757e08db7bd 100644 --- a/drives/item_items_item_workbook_operations_request_builder.go +++ b/drives/item_items_item_workbook_operations_request_builder.go @@ -13,14 +13,22 @@ type ItemItemsItemWorkbookOperationsRequestBuilder struct { } // ItemItemsItemWorkbookOperationsRequestBuilderGetQueryParameters the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. type ItemItemsItemWorkbookOperationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` } // ItemItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration struct { @@ -53,7 +61,7 @@ func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ByWorkbookOperationId(wo // NewItemItemsItemWorkbookOperationsRequestBuilderInternal instantiates a new ItemItemsItemWorkbookOperationsRequestBuilder and sets the default values. func NewItemItemsItemWorkbookOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemItemsItemWorkbookOperationsRequestBuilder) { m := &ItemItemsItemWorkbookOperationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations{?%24expand,%24orderby,%24search,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/drives/item_items_item_workbook_tables_item_columns_add_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_add_post_request_body.go index 87e4355ac03..defcd8fd60b 100644 --- a/drives/item_items_item_workbook_tables_item_columns_add_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetFieldDeser return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetName()(*st return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetName(value } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBodyable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index 5f78c86cdbf..e604af905a3 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyV func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyV m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValue ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_tables_item_rows_add_post_request_body.go b/drives/item_items_item_workbook_tables_item_rows_add_post_request_body.go index 82f77bec0de..059fb49c84f 100644 --- a/drives/item_items_item_workbook_tables_item_rows_add_post_request_body.go +++ b/drives/item_items_item_workbook_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetFieldDeserial return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetIndex()(*int3 return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetIndex(value * } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type ItemItemsItemWorkbookTablesItemRowsAddPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_add_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_add_post_request_body.go index 091e46cd71f..ef7f069bc86 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_add_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetFieldDe return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -90,14 +89,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSeriesB return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -160,7 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSeriesB } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -179,10 +178,10 @@ type ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetTypeEscaped()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetTypeEscaped(value *string)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go index aad47aaa9cf..93652f1c9fb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestB return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestB return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestB } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBodya i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go index cca1323bf94..667eee5a15f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPost return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPost func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPost m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go index 4aba09db8c5..49622044600 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataP return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataP return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataP } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostR i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go index 51609d0e37c..b7561253cd5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetP return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetP func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetP m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPosit ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go index f6d44ee7488..6bc5de093b7 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPost return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPost return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPost } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequ i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go index 2617f4a9e68..1668d11ac3c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPosi return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPosi func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPosi m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPosition ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_names_add_post_request_body.go index 59117122cc8..d6f405d7ff2 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetFieldDes return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetName()(* return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetName(val } } // SetReference sets the reference property value. The reference property -func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBodyable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go index 16c84619cae..eec9772ea8b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBodyable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index 45ebbc03fa0..1ad080984b6 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvalu func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvalu m.backingStore = value } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfi ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go index 949d3d8aa5f..d7e6620db3f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package drives import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) Ge return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) Ge return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) Se } } // SetValues sets the values property value. The values property -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBodyable int i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/drives/item_list_items_item_permissions_count_request_builder.go b/drives/item_list_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..866ec74d490 --- /dev/null +++ b/drives/item_list_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListItemsItemPermissionsCountRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsCountRequestBuilder) { + m := &ItemListItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsCountRequestBuilder instantiates a new ItemListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsCountRequestBuilder) { + return NewItemListItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_permissions_item_grant_post_request_body.go b/drives/item_list_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..0077e22d0f3 --- /dev/null +++ b/drives/item_list_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListItemsItemPermissionsItemGrantPostRequestBody instantiates a new ItemListItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListItemsItemPermissionsItemGrantPostRequestBody()(*ItemListItemsItemPermissionsItemGrantPostRequestBody) { + m := &ItemListItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/drives/item_list_items_item_permissions_item_grant_post_response.go b/drives/item_list_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..0c4f03e7bd0 --- /dev/null +++ b/drives/item_list_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListItemsItemPermissionsItemGrantPostResponse instantiates a new ItemListItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemListItemsItemPermissionsItemGrantPostResponse()(*ItemListItemsItemPermissionsItemGrantPostResponse) { + m := &ItemListItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/drives/item_list_items_item_permissions_item_grant_request_builder.go b/drives/item_list_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..31979636eb0 --- /dev/null +++ b/drives/item_list_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + m := &ItemListItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsItemGrantRequestBuilder instantiates a new ItemListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_permissions_item_grant_response.go b/drives/item_list_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..5e745b0f872 --- /dev/null +++ b/drives/item_list_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListItemsItemPermissionsItemGrantResponse struct { + ItemListItemsItemPermissionsItemGrantPostResponse +} +// NewItemListItemsItemPermissionsItemGrantResponse instantiates a new ItemListItemsItemPermissionsItemGrantResponse and sets the default values. +func NewItemListItemsItemPermissionsItemGrantResponse()(*ItemListItemsItemPermissionsItemGrantResponse) { + m := &ItemListItemsItemPermissionsItemGrantResponse{ + ItemListItemsItemPermissionsItemGrantPostResponse: *NewItemListItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListItemsItemPermissionsItemGrantResponseable interface { + ItemListItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..9db682b4f2f --- /dev/null +++ b/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..5f8d23265ce --- /dev/null +++ b/drives/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_permissions_permission_item_request_builder.go b/drives/item_list_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..a1eadda89ee --- /dev/null +++ b/drives/item_list_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from drives +type ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemListItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for drives +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for drives +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from drives +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in drives +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + return NewItemListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_permissions_request_builder.go b/drives/item_list_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..3117b65b266 --- /dev/null +++ b/drives/item_list_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from drives +type ItemListItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListItemsItemPermissionsRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsRequestBuilder) { + m := &ItemListItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsRequestBuilder instantiates a new ItemListItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) Count()(*ItemListItemsItemPermissionsCountRequestBuilder) { + return NewItemListItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from drives +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from drives +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for drives +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsRequestBuilder) { + return NewItemListItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_list_item_item_request_builder.go b/drives/item_list_items_list_item_item_request_builder.go index 9901a3f9a2c..9282c4550f2 100644 --- a/drives/item_list_items_list_item_item_request_builder.go +++ b/drives/item_list_items_list_item_item_request_builder.go @@ -155,6 +155,11 @@ func (m *ItemListItemsListItemItemRequestBuilder) Patch(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListItemsItemPermissionsRequestBuilder when successful +func (m *ItemListItemsListItemItemRequestBuilder) Permissions()(*ItemListItemsItemPermissionsRequestBuilder) { + return NewItemListItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property items for drives // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/drives/item_list_permissions_count_request_builder.go b/drives/item_list_permissions_count_request_builder.go new file mode 100644 index 00000000000..703e79056bb --- /dev/null +++ b/drives/item_list_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListPermissionsCountRequestBuilderInternal instantiates a new ItemListPermissionsCountRequestBuilder and sets the default values. +func NewItemListPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsCountRequestBuilder) { + m := &ItemListPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListPermissionsCountRequestBuilder instantiates a new ItemListPermissionsCountRequestBuilder and sets the default values. +func NewItemListPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsCountRequestBuilder when successful +func (m *ItemListPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsCountRequestBuilder) { + return NewItemListPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_permissions_item_grant_post_request_body.go b/drives/item_list_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..0e57a1d3d6b --- /dev/null +++ b/drives/item_list_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListPermissionsItemGrantPostRequestBody instantiates a new ItemListPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListPermissionsItemGrantPostRequestBody()(*ItemListPermissionsItemGrantPostRequestBody) { + m := &ItemListPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/drives/item_list_permissions_item_grant_post_response.go b/drives/item_list_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..b45049b6fcd --- /dev/null +++ b/drives/item_list_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListPermissionsItemGrantPostResponse instantiates a new ItemListPermissionsItemGrantPostResponse and sets the default values. +func NewItemListPermissionsItemGrantPostResponse()(*ItemListPermissionsItemGrantPostResponse) { + m := &ItemListPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/drives/item_list_permissions_item_grant_request_builder.go b/drives/item_list_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..da28b9c0b2f --- /dev/null +++ b/drives/item_list_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemGrantRequestBuilder) { + m := &ItemListPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListPermissionsItemGrantRequestBuilder instantiates a new ItemListPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsItemGrantRequestBuilder when successful +func (m *ItemListPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsItemGrantRequestBuilder) { + return NewItemListPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_permissions_item_grant_response.go b/drives/item_list_permissions_item_grant_response.go new file mode 100644 index 00000000000..f3a92b379d2 --- /dev/null +++ b/drives/item_list_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListPermissionsItemGrantPostResponseable instead. +type ItemListPermissionsItemGrantResponse struct { + ItemListPermissionsItemGrantPostResponse +} +// NewItemListPermissionsItemGrantResponse instantiates a new ItemListPermissionsItemGrantResponse and sets the default values. +func NewItemListPermissionsItemGrantResponse()(*ItemListPermissionsItemGrantResponse) { + m := &ItemListPermissionsItemGrantResponse{ + ItemListPermissionsItemGrantPostResponse: *NewItemListPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListPermissionsItemGrantPostResponseable instead. +type ItemListPermissionsItemGrantResponseable interface { + ItemListPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/drives/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go b/drives/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..bdf3b92c95f --- /dev/null +++ b/drives/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package drives + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/drives/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go b/drives/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..bcefda2ec9e --- /dev/null +++ b/drives/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_permissions_permission_item_request_builder.go b/drives/item_list_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..1d4bf2c5764 --- /dev/null +++ b/drives/item_list_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from drives +type ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsPermissionItemRequestBuilder) { + m := &ItemListPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListPermissionsPermissionItemRequestBuilder instantiates a new ItemListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for drives +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListPermissionsItemGrantRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) Grant()(*ItemListPermissionsItemGrantRequestBuilder) { + return NewItemListPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for drives +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from drives +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in drives +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsPermissionItemRequestBuilder) { + return NewItemListPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_permissions_request_builder.go b/drives/item_list_permissions_request_builder.go new file mode 100644 index 00000000000..f0157b12ed3 --- /dev/null +++ b/drives/item_list_permissions_request_builder.go @@ -0,0 +1,152 @@ +package drives + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsRequestBuilderGetQueryParameters get permissions from drives +type ItemListPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsRequestBuilderGetQueryParameters +} +// ItemListPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListPermissionsRequestBuilderInternal instantiates a new ItemListPermissionsRequestBuilder and sets the default values. +func NewItemListPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsRequestBuilder) { + m := &ItemListPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListPermissionsRequestBuilder instantiates a new ItemListPermissionsRequestBuilder and sets the default values. +func NewItemListPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListPermissionsCountRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) Count()(*ItemListPermissionsCountRequestBuilder) { + return NewItemListPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from drives +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for drives +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from drives +// returns a *RequestInformation when successful +func (m *ItemListPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for drives +// returns a *RequestInformation when successful +func (m *ItemListPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsRequestBuilder) { + return NewItemListPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_request_builder.go b/drives/item_list_request_builder.go index 5b8f682cab1..9767f25862c 100644 --- a/drives/item_list_request_builder.go +++ b/drives/item_list_request_builder.go @@ -150,6 +150,11 @@ func (m *ItemListRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListPermissionsRequestBuilder when successful +func (m *ItemListRequestBuilder) Permissions()(*ItemListPermissionsRequestBuilder) { + return NewItemListPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *ItemListSubscriptionsRequestBuilder when successful func (m *ItemListRequestBuilder) Subscriptions()(*ItemListSubscriptionsRequestBuilder) { diff --git a/education/classes_item_assignments_item_categories_ref_request_builder.go b/education/classes_item_assignments_item_categories_ref_request_builder.go index 83a0e2d5dca..b456b5f48f7 100644 --- a/education/classes_item_assignments_item_categories_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_ref_request_builder.go @@ -25,7 +25,7 @@ type ClassesItemAssignmentsItemCategoriesRefRequestBuilderDeleteRequestConfigura // Request query parameters QueryParameters *ClassesItemAssignmentsItemCategoriesRefRequestBuilderDeleteQueryParameters } -// ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -85,9 +85,12 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) Delete(ctx conte } return nil } -// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-beta func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -135,7 +138,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_categories_request_builder.go b/education/classes_item_assignments_item_categories_request_builder.go index 514e2b222c1..0f75b4c31b7 100644 --- a/education/classes_item_assignments_item_categories_request_builder.go +++ b/education/classes_item_assignments_item_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,9 +81,12 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Count()(*ClassesIte func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Delta()(*ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) { return NewClassesItemAssignmentsItemCategoriesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-beta func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Post(ctx context.Co func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Ref()(*ClassesItemAssignmentsItemCategoriesRefRequestBuilder) { return NewClassesItemAssignmentsItemCategoriesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. +// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 4bd1af91d35..65a82ca6cf1 100644 --- a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReques urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property resources for education +// Delete delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-beta func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemResourcesItemDependentresourcesDependentResourcesRequestBuilder) { return NewClassesItemAssignmentsItemResourcesItemDependentresourcesDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-beta func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +121,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToDeleteRequestInformation delete navigation property resources for education +// ToDeleteRequestInformation delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -126,7 +132,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// ToGetRequestInformation get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_resources_request_builder.go b/education/classes_item_assignments_item_resources_request_builder.go index 4aa7b3a8c6a..c3c10b2d856 100644 --- a/education/classes_item_assignments_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewClassesItemAssignmentsItemResourcesRequestBuilder(rawUrl string, request func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemResourcesCountRequestBuilder) { return NewClassesItemAssignmentsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// Get get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationAssignmentResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-beta func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil } -// Post create new navigation property to resources for education +// Post 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. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-post-resources?view=graph-rest-beta func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. +// ToGetRequestInformation get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to resources for education +// ToPostRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_rubric_ref_request_builder.go b/education/classes_item_assignments_item_rubric_ref_request_builder.go index 40050e9ddf9..c731ae327f4 100644 --- a/education/classes_item_assignments_item_rubric_ref_request_builder.go +++ b/education/classes_item_assignments_item_rubric_ref_request_builder.go @@ -45,8 +45,11 @@ func NewClassesItemAssignmentsItemRubricRefRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemRubricRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete ref of navigation property rubric for education +// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -61,9 +64,12 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.C } return nil } -// Get when set, the grading rubric attached to this assignment. +// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. // returns a *string when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*string, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,8 +87,11 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Cont } return res.(*string), nil } -// Put update the ref of navigation property rubric in education +// Put attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -97,7 +106,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Cont } return nil } -// ToDeleteRequestInformation delete ref of navigation property rubric for education +// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -108,7 +117,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation when set, the grading rubric attached to this assignment. +// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +128,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the ref of navigation property rubric in education +// ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_rubric_request_builder.go b/education/classes_item_assignments_item_rubric_request_builder.go index 41ff98137c7..6e5b684aae5 100644 --- a/education/classes_item_assignments_item_rubric_request_builder.go +++ b/education/classes_item_assignments_item_rubric_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters when set, the grading rubric attached to this assignment. +// ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewClassesItemAssignmentsItemRubricRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemRubricRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property rubric for education +// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Cont } return nil } -// Get when set, the grading rubric attached to this assignment. +// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +96,12 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch update the navigation property rubric in education +// Patch attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-beta func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +124,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Conte func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Ref()(*ClassesItemAssignmentsItemRubricRefRequestBuilder) { return NewClassesItemAssignmentsItemRubricRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property rubric for education +// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -126,7 +135,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation when set, the grading rubric attached to this assignment. +// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +149,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property rubric in education +// ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go index e5e5f88195c..a0f3d9a0e1f 100644 --- a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters 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. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. type ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Excuse()(*ClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// Get 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. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. // returns a EducationSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -161,7 +164,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// ToGetRequestInformation 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. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index a5551a82064..b39db277b03 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -54,8 +54,11 @@ func NewClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemReq urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property outcomes for education +// Delete delete a feedback resource from a submission. This can only be done by a teacher. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +93,12 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// Patch update the navigation property outcomes in education +// Patch update the properties of an educationOutcome object. Only teachers can perform this operation. // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -110,7 +116,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToDeleteRequestInformation delete navigation property outcomes for education +// ToDeleteRequestInformation delete a feedback resource from a submission. This can only be done by a teacher. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property outcomes in education +// ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go index ab1f0ac32aa..490c5032813 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters get outcomes from education +// ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters 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. type ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl s func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get outcomes from education +// Get 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. // returns a EducationOutcomeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable), nil } -// Post create new navigation property to outcomes for education +// Post 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 is not in that folder, the POST request will fail. // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToGetRequestInformation get outcomes from education +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to outcomes for education +// ToPostRequestInformation 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 is not in that folder, the POST request will fail. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 5a48b8e55d8..0698b974f81 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get resources from education +// ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters 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. type ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRes urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property resources for education +// Delete 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. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentresourcesDependentResourcesRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentresourcesDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get resources from education +// Get 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. // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +121,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToDeleteRequestInformation delete navigation property resources for education +// ToDeleteRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -126,7 +132,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get resources from education +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go index 2de3e812e1b..50ad8195274 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters get resources from education +// ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters 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 the 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. type ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get resources from education +// Get 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 the 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. // returns a EducationSubmissionResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil } -// Post create new navigation property to resources for education +// Post add a 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. // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToGetRequestInformation get resources from education +// ToGetRequestInformation 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 the 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to resources for education +// ToPostRequestInformation add a 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. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_request_builder.go b/education/classes_item_assignments_item_submissions_request_builder.go index 97a4a49301e..cb2900ee815 100644 --- a/education/classes_item_assignments_item_submissions_request_builder.go +++ b/education/classes_item_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters list all the submission objects 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, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. type ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewClassesItemAssignmentsItemSubmissionsRequestBuilder(rawUrl string, reque func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// Get list all the submission objects 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, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. // returns a EducationSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. +// ToGetRequestInformation list all the submission objects 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, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignmentsettings_gradingcategories_education_grading_category_item_request_builder.go b/education/classes_item_assignmentsettings_gradingcategories_education_grading_category_item_request_builder.go index e8690fd9099..5e69bdf624d 100644 --- a/education/classes_item_assignmentsettings_gradingcategories_education_grading_category_item_request_builder.go +++ b/education/classes_item_assignmentsettings_gradingcategories_education_grading_category_item_request_builder.go @@ -90,9 +90,12 @@ func (m *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable), nil } -// Patch update the navigation property gradingCategories in education +// Patch update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. // returns a EducationGradingCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingcategory-update?view=graph-rest-beta func (m *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, requestConfiguration *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +138,7 @@ func (m *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property gradingCategories in education +// ToPatchRequestInformation update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, requestConfiguration *ClassesItemAssignmentsettingsGradingcategoriesEducationGradingCategoryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignmentsettings_gradingschemes_education_grading_scheme_item_request_builder.go b/education/classes_item_assignmentsettings_gradingschemes_education_grading_scheme_item_request_builder.go index c1ead5aae19..3369b987777 100644 --- a/education/classes_item_assignmentsettings_gradingschemes_education_grading_scheme_item_request_builder.go +++ b/education/classes_item_assignmentsettings_gradingschemes_education_grading_scheme_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderGetQueryParameters get gradingSchemes from education +// ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. type ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemReq urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property gradingSchemes for education +// Delete delete an educationGradingScheme object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-delete?view=graph-rest-beta func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRe } return nil } -// Get get gradingSchemes from education +// Get read the properties and relationships of an educationGradingScheme object. // returns a EducationGradingSchemeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-get?view=graph-rest-beta func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +116,7 @@ func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable), nil } -// ToDeleteRequestInformation delete navigation property gradingSchemes for education +// ToDeleteRequestInformation delete an educationGradingScheme object. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +127,7 @@ func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get gradingSchemes from education +// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignmentsettings_gradingschemes_grading_schemes_request_builder.go b/education/classes_item_assignmentsettings_gradingschemes_grading_schemes_request_builder.go index efe5da61404..e0615630ab8 100644 --- a/education/classes_item_assignmentsettings_gradingschemes_grading_schemes_request_builder.go +++ b/education/classes_item_assignmentsettings_gradingschemes_grading_schemes_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderGetQueryParameters get gradingSchemes from education +// ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. type ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder( func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder) Count()(*ClassesItemAssignmentsettingsGradingschemesCountRequestBuilder) { return NewClassesItemAssignmentsettingsGradingschemesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get gradingSchemes from education +// Get read the properties and relationships of an educationGradingScheme object. // returns a EducationGradingSchemeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeCollectionResponseable, error) { @@ -96,9 +96,12 @@ func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeCollectionResponseable), nil } -// Post create new navigation property to gradingSchemes for education +// Post create a new educationGradingScheme object. // returns a EducationGradingSchemeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-post?view=graph-rest-beta func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable), nil } -// ToGetRequestInformation get gradingSchemes from education +// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +133,7 @@ func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to gradingSchemes for education +// ToPostRequestInformation create a new educationGradingScheme object. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentsettingsGradingschemesGradingSchemesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go index 4f3bfe6f82c..96225448349 100644 --- a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go +++ b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property resources for education +// Delete delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-delete?view=graph-rest-beta func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return nil } -// Get learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// Get get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-beta func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +96,12 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// Patch update the navigation property resources in education +// Patch 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. // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-update?view=graph-rest-beta func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -110,7 +119,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// ToDeleteRequestInformation delete navigation property resources for education +// ToDeleteRequestInformation delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +130,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// ToGetRequestInformation get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +144,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property resources in education +// ToPatchRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_item_resources_request_builder.go b/education/classes_item_modules_item_resources_request_builder.go index e0482bd955d..0275a6ee82c 100644 --- a/education/classes_item_modules_item_resources_request_builder.go +++ b/education/classes_item_modules_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemModulesItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. type ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewClassesItemModulesItemResourcesRequestBuilder(rawUrl string, requestAdap func (m *ClassesItemModulesItemResourcesRequestBuilder) Count()(*ClassesItemModulesItemResourcesCountRequestBuilder) { return NewClassesItemModulesItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// Get get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationModuleResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-beta func (m *ClassesItemModulesItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceCollectionResponseable), nil } -// Post create new navigation property to resources for education +// Post 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. // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-post-resources?view=graph-rest-beta func (m *ClassesItemModulesItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// ToGetRequestInformation learning objects that are associated with this module. Only teachers can modify this list. Nullable. +// ToGetRequestInformation get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to resources for education +// ToPostRequestInformation 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. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_item_members_identity_item_request_builder.go b/external/connections_item_groups_item_members_identity_item_request_builder.go index 9be216aec11..c55ae0faa62 100644 --- a/external/connections_item_groups_item_members_identity_item_request_builder.go +++ b/external/connections_item_groups_item_members_identity_item_request_builder.go @@ -54,8 +54,11 @@ func NewConnectionsItemGroupsItemMembersIdentityItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewConnectionsItemGroupsItemMembersIdentityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property members for external +// Delete delete an externalGroupMember object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-beta func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +113,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) Patch(ctx c } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable), nil } -// ToDeleteRequestInformation delete navigation property members for external +// ToDeleteRequestInformation delete an externalGroupMember object. // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_item_members_request_builder.go b/external/connections_item_groups_item_members_request_builder.go index b5307d79f8b..f31e260d42f 100644 --- a/external/connections_item_groups_item_members_request_builder.go +++ b/external/connections_item_groups_item_members_request_builder.go @@ -96,9 +96,12 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) Get(ctx context.Context } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.IdentityCollectionResponseable), nil } -// Post create new navigation property to members for external +// Post create a new externalGroupMember object. // returns a Identityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-beta func (m *ConnectionsItemGroupsItemMembersRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ConnectionsItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to members for external +// ToPostRequestInformation create a new externalGroupMember object. // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ConnectionsItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_schema_request_builder.go b/external/connections_item_schema_request_builder.go index 72cd98c85f6..6aa2a151f40 100644 --- a/external/connections_item_schema_request_builder.go +++ b/external/connections_item_schema_request_builder.go @@ -70,12 +70,12 @@ func (m *ConnectionsItemSchemaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// Patch update the properties of a schema for an externalConnection. +// Patch create a new or update an existing schema for a Microsoft Search connection. // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta func (m *ConnectionsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -107,7 +107,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a schema for an externalConnection. +// ToPatchRequestInformation create a new or update an existing schema for a Microsoft Search connection. // returns a *RequestInformation when successful func (m *ConnectionsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industrydata_dataconnectors_data_connectors_request_builder.go b/external/industrydata_dataconnectors_data_connectors_request_builder.go index b53a1f9e33e..9c361d9a171 100644 --- a/external/industrydata_dataconnectors_data_connectors_request_builder.go +++ b/external/industrydata_dataconnectors_data_connectors_request_builder.go @@ -99,12 +99,12 @@ func (m *IndustrydataDataconnectorsDataConnectorsRequestBuilder) Get(ctx context } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable), nil } -// Post create a new azureDataLakeConnector object. +// Post create a new industryDataConnector object. // returns a IndustryDataConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-post?view=graph-rest-beta func (m *IndustrydataDataconnectorsDataConnectorsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustrydataDataconnectorsDataConnectorsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *IndustrydataDataconnectorsDataConnectorsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new azureDataLakeConnector object. +// ToPostRequestInformation create a new industryDataConnector object. // returns a *RequestInformation when successful func (m *IndustrydataDataconnectorsDataConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustrydataDataconnectorsDataConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industrydata_dataconnectors_industry_data_connector_item_request_builder.go b/external/industrydata_dataconnectors_industry_data_connector_item_request_builder.go index 7abee5b5f7a..bf9044bf5de 100644 --- a/external/industrydata_dataconnectors_industry_data_connector_item_request_builder.go +++ b/external/industrydata_dataconnectors_industry_data_connector_item_request_builder.go @@ -18,7 +18,7 @@ type IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an industryDataConnector object. +// IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an azureDataLakeConnector object. type IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of an industryDataConnector object. +// Get read the properties and relationships of an azureDataLakeConnector object. // returns a IndustryDataConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-get?view=graph-rest-beta func (m *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -140,7 +140,7 @@ func (m *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an industryDataConnector object. +// ToGetRequestInformation read the properties and relationships of an azureDataLakeConnector object. // returns a *RequestInformation when successful func (m *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustrydataDataconnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industrydata_inboundflows_inbound_flow_item_request_builder.go b/external/industrydata_inboundflows_inbound_flow_item_request_builder.go index 21fee2d25d3..d0d626d8f55 100644 --- a/external/industrydata_inboundflows_inbound_flow_item_request_builder.go +++ b/external/industrydata_inboundflows_inbound_flow_item_request_builder.go @@ -18,7 +18,7 @@ type IndustrydataInboundflowsInboundFlowItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustrydataInboundflowsInboundFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an inboundFlow object. +// IndustrydataInboundflowsInboundFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an inboundFileFlow object. type IndustrydataInboundflowsInboundFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,11 @@ func NewIndustrydataInboundflowsInboundFlowItemRequestBuilder(rawUrl string, req func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) DataConnector()(*IndustrydataInboundflowsItemDataconnectorDataConnectorRequestBuilder) { return NewIndustrydataInboundflowsItemDataconnectorDataConnectorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an inboundFileFlow object. +// Delete delete an inboundFlow object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-delete?view=graph-rest-beta func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +78,12 @@ func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an inboundFlow object. +// Get read the properties and relationships of an inboundFileFlow object. // returns a InboundFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-get?view=graph-rest-beta func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +101,12 @@ func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Get(ctx context. } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// Patch update the properties of an inboundFileFlow object. +// Patch update the properties of an inboundFlow object. // returns a InboundFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-update?view=graph-rest-beta func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) Patch(ctx contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToDeleteRequestInformation delete an inboundFileFlow object. +// ToDeleteRequestInformation delete an inboundFlow object. // returns a *RequestInformation when successful func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +135,7 @@ func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an inboundFlow object. +// ToGetRequestInformation read the properties and relationships of an inboundFileFlow object. // returns a *RequestInformation when successful func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +149,7 @@ func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an inboundFileFlow object. +// ToPatchRequestInformation update the properties of an inboundFlow object. // returns a *RequestInformation when successful func (m *IndustrydataInboundflowsInboundFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustrydataInboundflowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 74838706d8e..97da586da96 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -119,12 +119,12 @@ func (m *GroupsRequestBuilder) GetByIds()(*GetbyidsGetByIdsRequestBuilder) { func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetuserownedobjectsGetUserOwnedObjectsRequestBuilder) { return NewGetuserownedobjectsGetUserOwnedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta func (m *GroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -156,7 +156,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_acceptedsenders_accepted_senders_request_builder.go b/groups/item_acceptedsenders_accepted_senders_request_builder.go index 683e148f8f1..24f0a2fe086 100644 --- a/groups/item_acceptedsenders_accepted_senders_request_builder.go +++ b/groups/item_acceptedsenders_accepted_senders_request_builder.go @@ -15,6 +15,8 @@ type ItemAcceptedsendersAcceptedSendersRequestBuilder struct { type ItemAcceptedsendersAcceptedSendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemAcceptedsendersAcceptedSendersRequestBuilder) ByDirectoryObjectId(d // NewItemAcceptedsendersAcceptedSendersRequestBuilderInternal instantiates a new ItemAcceptedsendersAcceptedSendersRequestBuilder and sets the default values. func NewItemAcceptedsendersAcceptedSendersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAcceptedsendersAcceptedSendersRequestBuilder) { m := &ItemAcceptedsendersAcceptedSendersRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_acceptedsenders_ref_request_builder.go b/groups/item_acceptedsenders_ref_request_builder.go index 8c53500baef..b667e5d1391 100644 --- a/groups/item_acceptedsenders_ref_request_builder.go +++ b/groups/item_acceptedsenders_ref_request_builder.go @@ -33,6 +33,8 @@ type ItemAcceptedsendersRefRequestBuilderGetQueryParameters struct { Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // Show only the first n items @@ -57,7 +59,7 @@ type ItemAcceptedsendersRefRequestBuilderPostRequestConfiguration struct { // NewItemAcceptedsendersRefRequestBuilderInternal instantiates a new ItemAcceptedsendersRefRequestBuilder and sets the default values. func NewItemAcceptedsendersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAcceptedsendersRefRequestBuilder) { m := &ItemAcceptedsendersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -145,7 +147,7 @@ func (m *ItemAcceptedsendersRefRequestBuilder) ToDeleteRequestInformation(ctx co // ToGetRequestInformation get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. // returns a *RequestInformation when successful func (m *ItemAcceptedsendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedsendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) diff --git a/groups/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go b/groups/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go index 077ff52b237..55a503cddcd 100644 --- a/groups/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go +++ b/groups/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderDeleteRe } // ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderPatchReq // NewItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderInternal instantiates a new ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder and sets the default values. func NewItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder) { m := &ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarpermissions_calendar_permissions_request_builder.go b/groups/item_calendar_calendarpermissions_calendar_permissions_request_builder.go index f2abff2d85f..752cb45f26a 100644 --- a/groups/item_calendar_calendarpermissions_calendar_permissions_request_builder.go +++ b/groups/item_calendar_calendarpermissions_calendar_permissions_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder struct { type ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder) ByCal // NewItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderInternal instantiates a new ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder and sets the default values. func NewItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder) { m := &ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_calendar_view_request_builder.go b/groups/item_calendar_calendarview_calendar_view_request_builder.go index 144369c0044..27622a2a729 100644 --- a/groups/item_calendar_calendarview_calendar_view_request_builder.go +++ b/groups/item_calendar_calendarview_calendar_view_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarCalendarviewCalendarViewRequestBuilderGetQueryParameters struct Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarCalendarviewCalendarViewRequestBuilder) ByEventId(eventId s // NewItemCalendarCalendarviewCalendarViewRequestBuilderInternal instantiates a new ItemCalendarCalendarviewCalendarViewRequestBuilder and sets the default values. func NewItemCalendarCalendarviewCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewCalendarViewRequestBuilder) { m := &ItemCalendarCalendarviewCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_event_item_request_builder.go b/groups/item_calendar_calendarview_event_item_request_builder.go index 6ca7d606697..b33fd8758a8 100644 --- a/groups/item_calendar_calendarview_event_item_request_builder.go +++ b/groups/item_calendar_calendarview_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewEventItemRequestBuilder struct { type ItemCalendarCalendarviewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewEventItemRequestBuilder) Cancel()(*ItemCalendar // NewItemCalendarCalendarviewEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewEventItemRequestBuilder) { m := &ItemCalendarCalendarviewEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_calendar_request_builder.go b/groups/item_calendar_calendarview_item_calendar_request_builder.go index d9de7c9df7c..790fde8c66c 100644 --- a/groups/item_calendar_calendarview_item_calendar_request_builder.go +++ b/groups/item_calendar_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemCalendarRequestBuilder struct { } // ItemCalendarCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemCalendarRequestBuilderGetRequestConfiguration s // NewItemCalendarCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index b8c79770c1d..d98bf811da7 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequest type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequest // NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index 5e0c949e94f..335e32fe473 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuild Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestB // NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index f077f7a0f05..93a61a347e6 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder } // ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderG // NewItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index 809cdada3fc..8139fc315bc 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestB type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestB // NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index 962e90bf859..59201a49a07 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBu // NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index 1ece201a416..280d4f715f5 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBu type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBu // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 7245e403b72..238befd61fb 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemReque type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemR // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index b66a547fda8..6cde4790513 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 6253888cc3f..e4822215b0b 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttach // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 61e8a16a06c..afd136b721d 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRe } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRe // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 256a80fd727..478ba5e5a56 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 1e34a0bf5dc..892b57dff33 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtens // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index a5245c46631..4cc94e98ff8 100644 --- a/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/groups/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBui // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_event_item_request_builder.go b/groups/item_calendar_calendarview_item_instances_event_item_request_builder.go index c4b2d16fb6f..9d50ec3da0f 100644 --- a/groups/item_calendar_calendarview_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder struct { type ItemCalendarCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder) Cancel()( // NewItemCalendarCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go index 75b9cb9e3ef..368b78a4507 100644 --- a/groups/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder str type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetR // NewItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_attachments_request_builder.go index 35172e37b53..fd6c53d16ed 100644 --- a/groups/item_calendar_calendarview_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderGetQueryP Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder) ByA // NewItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_calendar_request_builder.go index 7e19e1fc44c..417152a323c 100644 --- a/groups/item_calendar_calendarview_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetRequestCo // NewItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index 54780417d6b..f5d9455219f 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBu type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBu // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 85d9e63d71d..10771848d83 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccur Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionO // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 76d10d3f774..1841e887fb2 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 6b9c553328c..7aec839b65f 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttach // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index f2220ca9594..5e0b976aed6 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRe } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRe // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index f7ff5ae66e4..d596e172911 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index a11554b8d2f..04c07d951cf 100644 --- a/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtens // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go index a360640ff9d..a2f33f7a154 100644 --- a/groups/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder stru type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRe // NewItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendarview_item_instances_item_extensions_request_builder.go index 73dbbc9a17e..489d45607d8 100644 --- a/groups/item_calendar_calendarview_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderGetQueryPa Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder) ByEx // NewItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_calendarview_item_instances_request_builder.go b/groups/item_calendar_calendarview_item_instances_request_builder.go index e7699da16dc..4bbfbda7b41 100644 --- a/groups/item_calendar_calendarview_item_instances_request_builder.go +++ b/groups/item_calendar_calendarview_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarCalendarviewItemInstancesRequestBuilderGetQueryParameters struc Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarCalendarviewItemInstancesRequestBuilder) ByEventId1(eventId // NewItemCalendarCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_calendar_request_builder.go b/groups/item_calendar_events_item_calendar_request_builder.go index 0d0698e7523..0c7368a9d55 100644 --- a/groups/item_calendar_events_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemCalendarRequestBuilder struct { } // ItemCalendarEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemCalendarRequestBuilderGetRequestConfiguration struct // NewItemCalendarEventsItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index c6770733339..bd23aa8d163 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilde type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilde // NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go index 1fdf7f5b1a5..3868314a5af 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQ Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder // NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go index 062bc3ea2f5..e18dd876bdf 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder struct } // ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetRequ // NewItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index 33087513f75..5eb9ac6c8af 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder // NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go index 9428a34cb6b..bb072b53279 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderGetQu Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) // NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go index 9d74c43b8af..f0ba2fbbc20 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderG // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index bdbeee9b01d..7c06c81d200 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuil type ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequest // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 065b5a38f09..aaeaaa92753 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCount type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCount // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 0ab9cff737c..b3c1a6371ab 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsReque Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsR // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index fe4f1ad8be5..7c3b063e142 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestB } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestB // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index f4dd706e099..a44228ff939 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountR type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountR // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 2cdb16da38d..fc980911985 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsReques Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRe // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go index 626a223e738..8acfe18b755 100644 --- a/groups/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderGetQue Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder) // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_instances_event_item_request_builder.go index 99c6b2571b5..002d1b199b5 100644 --- a/groups/item_calendar_events_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarEventsItemInstancesEventItemRequestBuilder struct { type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) Cancel()(*ItemC // NewItemCalendarEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { m := &ItemCalendarEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go index aa5f26528da..724dbcda3ac 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequest // NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go index 15106d21392..ec74ababe8e 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParamet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachm // NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go index 9f1235dd611..b1417fae730 100644 --- a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetRequestConfigur // NewItemCalendarEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go index cee173e6835..fe3e957f3cd 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderG // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 324ffcd745f..1901c8d13ed 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrences Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurre // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index eb8b62d1df7..45cb3831a6b 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCount type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCount // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index e0e39c84711..85e20b2959f 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsReque Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsR // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index b09aadcce68..c70841b918a 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestB } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestB // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 671b4014f3f..fdaefc4b993 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountR type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountR // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index b7ebb07d556..56c154c6d4a 100644 --- a/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsReques Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRe // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go index 0e4e76ffed8..0171d5eca9e 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder struct { type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestC // NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go index 0a30463cd1a..9b76d9fa65d 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParamete Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensio // NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_events_item_instances_request_builder.go b/groups/item_calendar_events_item_instances_request_builder.go index 8c47ca02255..21f114150e2 100644 --- a/groups/item_calendar_events_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1(eventId1 stri // NewItemCalendarEventsItemInstancesRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesRequestBuilder) { m := &ItemCalendarEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendar_request_builder.go b/groups/item_calendar_request_builder.go index d6aca03c4e7..c080b96067e 100644 --- a/groups/item_calendar_request_builder.go +++ b/groups/item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarRequestBuilder struct { } // ItemCalendarRequestBuilderGetQueryParameters the group's calendar. Read-only. type ItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -43,7 +45,7 @@ func (m *ItemCalendarRequestBuilder) CalendarView()(*ItemCalendarCalendarviewCal // NewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarRequestBuilder and sets the default values. func NewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarRequestBuilder) { m := &ItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_calendar_view_request_builder.go b/groups/item_calendarview_calendar_view_request_builder.go index 178c61376c5..287b206b315 100644 --- a/groups/item_calendarview_calendar_view_request_builder.go +++ b/groups/item_calendarview_calendar_view_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarviewCalendarViewRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarviewCalendarViewRequestBuilder) ByEventId(eventId string)(* // NewItemCalendarviewCalendarViewRequestBuilderInternal instantiates a new ItemCalendarviewCalendarViewRequestBuilder and sets the default values. func NewItemCalendarviewCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewCalendarViewRequestBuilder) { m := &ItemCalendarviewCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_event_item_request_builder.go b/groups/item_calendarview_event_item_request_builder.go index 9742c5e007c..67d7e34670e 100644 --- a/groups/item_calendarview_event_item_request_builder.go +++ b/groups/item_calendarview_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarviewEventItemRequestBuilder struct { type ItemCalendarviewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarviewEventItemRequestBuilder) Cancel()(*ItemCalendarviewItem // NewItemCalendarviewEventItemRequestBuilderInternal instantiates a new ItemCalendarviewEventItemRequestBuilder and sets the default values. func NewItemCalendarviewEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewEventItemRequestBuilder) { m := &ItemCalendarviewEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_calendar_request_builder.go b/groups/item_calendarview_item_calendar_request_builder.go index a715582bb39..cc205a75b13 100644 --- a/groups/item_calendarview_item_calendar_request_builder.go +++ b/groups/item_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemCalendarRequestBuilder struct { } // ItemCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemCalendarRequestBuilderGetRequestConfiguration struct { // NewItemCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index 653fce94860..582a0cc1e99 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderG // NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index f964166ef01..d36c5750f34 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQue Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) // NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index 04f4ace1170..22a9483cbf2 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder struct { } // ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetReques // NewItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index 6ada1600847..a68d623ce7d 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder s type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGe // NewItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index 29ac48e04ab..1b19215d2bb 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderGetQuer Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) B // NewItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index 4f291b9c52d..adb4bf05de6 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder st type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGet // NewItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 217c7911525..fc6821b41c2 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilde type ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBu // NewItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index b8b260cba48..96c946b30e0 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRe type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRe // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 18ab4e49289..73fe6d2d237 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsReq // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 54d22f6d0ad..a33d8497666 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBui } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBui // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 8bd2ced1d0b..3bbcc4fe8c8 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountReq type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountReq // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index d5fdec04225..b9f384a4d3e 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequ // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/groups/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index 752c3067cfd..181dc5aa0c3 100644 --- a/groups/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/groups/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderGetQuery Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) By // NewItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_event_item_request_builder.go b/groups/item_calendarview_item_instances_event_item_request_builder.go index 1881dd02da5..78b31b40dbb 100644 --- a/groups/item_calendarview_item_instances_event_item_request_builder.go +++ b/groups/item_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarviewItemInstancesEventItemRequestBuilder struct { type ItemCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemInstancesEventItemRequestBuilder) Cancel()(*ItemCal // NewItemCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_attachments_count_request_builder.go b/groups/item_calendarview_item_instances_item_attachments_count_request_builder.go index 121116b5e6b..968fd2fd0f2 100644 --- a/groups/item_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestCo // NewItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_attachments_request_builder.go b/groups/item_calendarview_item_instances_item_attachments_request_builder.go index d27fc4f176d..7cddc21c06e 100644 --- a/groups/item_calendarview_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemAttachmentsRequestBuilderGetQueryParameter Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) ByAttachmen // NewItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_calendar_request_builder.go b/groups/item_calendarview_item_instances_item_calendar_request_builder.go index 1cfc9eabd3c..d670104d1ac 100644 --- a/groups/item_calendarview_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetRequestConfigurat // NewItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index 10e3bdc5a67..15f87117825 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder st type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGet // NewItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index b777763c6c7..f40f71c4c1e 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRe Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrenc // NewItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 4d336bb235a..389a1948489 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRe type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRe // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 8dd2fb4d0c0..da62130b58b 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsReq // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 896c8ef89ea..633b25ca6bb 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBui } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBui // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index e2f9f740114..925e66b932a 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountReq type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountReq // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 21f1064fb9a..62d43fc5ba9 100644 --- a/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequ // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_extensions_count_request_builder.go b/groups/item_calendarview_item_instances_item_extensions_count_request_builder.go index eadba016806..59aa0cfbc70 100644 --- a/groups/item_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder struct { type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestCon // NewItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_item_extensions_request_builder.go b/groups/item_calendarview_item_instances_item_extensions_request_builder.go index 3adc3683d2a..e2155919320 100644 --- a/groups/item_calendarview_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExtensionsRequestBuilderGetQueryParameters Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExtensionsRequestBuilder) ByExtensionI // NewItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_calendarview_item_instances_request_builder.go b/groups/item_calendarview_item_instances_request_builder.go index 01f48cf0923..7300e12ada0 100644 --- a/groups/item_calendarview_item_instances_request_builder.go +++ b/groups/item_calendarview_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarviewItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarviewItemInstancesRequestBuilder) ByEventId1(eventId1 string // NewItemCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index fcb2f9947f7..037b3ca73c4 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -20,6 +20,8 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s } // ItemConversationsConversationItemRequestBuilderGetQueryParameters get a group's conversation object. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemConversationsConversationItemRequestBuilderGetRequestConfiguration stru // NewItemConversationsConversationItemRequestBuilderInternal instantiates a new ItemConversationsConversationItemRequestBuilder and sets the default values. func NewItemConversationsConversationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsConversationItemRequestBuilder) { m := &ItemConversationsConversationItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_count_request_builder.go index e33cd7336ee..161a3234b2f 100644 --- a/groups/item_conversations_item_threads_item_posts_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsCountRequestBuilder struct { type ItemConversationsItemThreadsItemPostsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsCountRequestBuilderGetRequestConfigura // NewItemConversationsItemThreadsItemPostsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go index 2d9df12d962..5600aa7964d 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder str type ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetR // NewItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go index 58a1b75f4ad..709f2040d94 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryP Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ByA // NewItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go index 9311ef9382c..06f9cb3ab32 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder stru type ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRe // NewItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go index a00933a032a..0d27da7b437 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryPa Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ByEx // NewItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go index 12f4f1de47c..fdd409e5b1a 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBu type ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBu // NewItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_request_builder.go index 0d191469a9c..e2a6e068095 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBui // NewItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go index 20981edad1c..5de63bab6d9 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBui type ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBui // NewItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_request_builder.go index 8750e68e9d8..67fc529424c 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderG Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuil // NewItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go index a3f19f5fd68..8f230fdc645 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuild type ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuild // NewItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_request_builder.go index 9cd522e5dcd..c68bb6435e2 100644 --- a/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_inreplyto_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilderGet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilde // NewItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemInreplytoMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go index 6098e17f08d..d00f48f406b 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder struct type ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequ // NewItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go index b342419091e..7f284041c05 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilderGetQueryPara Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ByMent // NewItemConversationsItemThreadsItemPostsItemMentionsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsItemMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_item_threads_item_posts_request_builder.go b/groups/item_conversations_item_threads_item_posts_request_builder.go index 8a07d36a4cf..f8cb29d1b9e 100644 --- a/groups/item_conversations_item_threads_item_posts_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_request_builder.go @@ -21,6 +21,8 @@ type ItemConversationsItemThreadsItemPostsRequestBuilderGetQueryParameters struc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ByPostId(postId st // NewItemConversationsItemThreadsItemPostsRequestBuilderInternal instantiates a new ItemConversationsItemThreadsItemPostsRequestBuilder and sets the default values. func NewItemConversationsItemThreadsItemPostsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsItemThreadsItemPostsRequestBuilder) { m := &ItemConversationsItemThreadsItemPostsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index e5d4d998946..100fd630db1 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -15,6 +15,8 @@ type ItemConversationsRequestBuilder struct { type ItemConversationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemConversationsRequestBuilder) ByConversationId(conversationId string // NewItemConversationsRequestBuilderInternal instantiates a new ItemConversationsRequestBuilder and sets the default values. func NewItemConversationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemConversationsRequestBuilder) { m := &ItemConversationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_deletepasswordsinglesignoncredentials_delete_password_single_sign_on_credentials_request_builder.go b/groups/item_deletepasswordsinglesignoncredentials_delete_password_single_sign_on_credentials_request_builder.go index 756262ea065..c2fd4cc2a4a 100644 --- a/groups/item_deletepasswordsinglesignoncredentials_delete_password_single_sign_on_credentials_request_builder.go +++ b/groups/item_deletepasswordsinglesignoncredentials_delete_password_single_sign_on_credentials_request_builder.go @@ -30,8 +30,11 @@ func NewItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCrede urlParams["request-raw-url"] = rawUrl return NewItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action deletePasswordSingleSignOnCredentials +// Post delete the password-based single sign-on credentials for a given group to a given service principal. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/group-deletepasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCred } return nil } -// ToPostRequestInformation invoke action deletePasswordSingleSignOnCredentials +// ToPostRequestInformation delete the password-based single sign-on credentials for a given group to a given service principal. // returns a *RequestInformation when successful func (m *ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemDeletepasswordsinglesignoncredentialsDeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_event_item_request_builder.go b/groups/item_events_event_item_request_builder.go index dc148051547..c646b710820 100644 --- a/groups/item_events_event_item_request_builder.go +++ b/groups/item_events_event_item_request_builder.go @@ -20,6 +20,8 @@ type ItemEventsEventItemRequestBuilderDeleteRequestConfiguration struct { } // ItemEventsEventItemRequestBuilderGetQueryParameters get an event object. type ItemEventsEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -62,7 +64,7 @@ func (m *ItemEventsEventItemRequestBuilder) Cancel()(*ItemEventsItemCancelReques // NewItemEventsEventItemRequestBuilderInternal instantiates a new ItemEventsEventItemRequestBuilder and sets the default values. func NewItemEventsEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsEventItemRequestBuilder) { m := &ItemEventsEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_calendar_request_builder.go b/groups/item_events_item_calendar_request_builder.go index fcdeb05dff2..5ebc4801883 100644 --- a/groups/item_events_item_calendar_request_builder.go +++ b/groups/item_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemCalendarRequestBuilder struct { } // ItemEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemCalendarRequestBuilderGetRequestConfiguration struct { // NewItemEventsItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemCalendarRequestBuilder) { m := &ItemEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index 74054e5317c..f41865ca8bf 100644 --- a/groups/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder struct type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequ // NewItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_attachments_request_builder.go index 314d162f082..31ac551b579 100644 --- a/groups/item_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQueryPara Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) ByAtta // NewItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_calendar_request_builder.go index ed33acd9746..6833ce832df 100644 --- a/groups/item_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder struct { } // ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetRequestConfi // NewItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index 461111b2d4c..7a756763f76 100644 --- a/groups/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder struct type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetReque // NewItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_extensions_request_builder.go index c91b0722daf..a51498d46ae 100644 --- a/groups/item_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderGetQueryParam Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) ByExten // NewItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go index 6916b959432..1cf1c7321dd 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder struct { type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetReques // NewItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 5579af88ffa..d40783bc192 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder stru type ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) // NewItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 9a233fd2d54..ccb49e97f7b 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestB type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestB // NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index ebdf3c955ce..a13d0dcd749 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBu // NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 7936e0215bb..6c7869dd009 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder s } // ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGe // NewItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index bc23146b582..c0e07293253 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBu type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBu // NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 396a2de80e3..5d800606512 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBui // NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_exceptionoccurrences_item_instances_request_builder.go b/groups/item_events_item_exceptionoccurrences_item_instances_request_builder.go index 6babf87de21..85451bbee5a 100644 --- a/groups/item_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/groups/item_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderGetQueryParame Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) ByEventI // NewItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_event_item_request_builder.go b/groups/item_events_item_instances_event_item_request_builder.go index 8aee9836568..87869310348 100644 --- a/groups/item_events_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemEventsItemInstancesEventItemRequestBuilder struct { type ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) Cancel()(*ItemEventsIte // NewItemEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesEventItemRequestBuilder) { m := &ItemEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_attachments_count_request_builder.go b/groups/item_events_item_instances_item_attachments_count_request_builder.go index e4dc9205d56..1da8533b0fe 100644 --- a/groups/item_events_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfigur // NewItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_attachments_request_builder.go b/groups/item_events_item_instances_item_attachments_request_builder.go index 2417a1c2ea1..9de7673a415 100644 --- a/groups/item_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters stru Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(at // NewItemEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_calendar_request_builder.go b/groups/item_events_item_instances_item_calendar_request_builder.go index 9b55eccf589..5d75fd97bbb 100644 --- a/groups/item_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemInstancesItemCalendarRequestBuilder struct { } // ItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemInstancesItemCalendarRequestBuilderGetRequestConfiguration st // NewItemEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go index a447ff927b1..4102df1033a 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder struct { type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetReques // NewItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 19b25755635..61190a76503 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequ // NewItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 34b2664e640..550f5f51eca 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestB type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestB // NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index ed941a06b2d..a8ed8509a1d 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBu // NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 56af379b7c7..432a706ec16 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder s } // ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGe // NewItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 12ac7f58135..be2acc5591a 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBu type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBu // NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 38797a28f8b..17303f54721 100644 --- a/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBui // NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_extensions_count_request_builder.go b/groups/item_events_item_instances_item_extensions_count_request_builder.go index 9702c90f0e1..13fb695afd5 100644 --- a/groups/item_events_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExtensionsCountRequestBuilder struct { type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfigura // NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_item_extensions_request_builder.go b/groups/item_events_item_instances_item_extensions_request_builder.go index db96c45e66d..fd5ddd8e20e 100644 --- a/groups/item_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(exte // NewItemEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_item_instances_request_builder.go b/groups/item_events_item_instances_request_builder.go index 64863b8cb83..8a1701c4cee 100644 --- a/groups/item_events_item_instances_request_builder.go +++ b/groups/item_events_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*Ite // NewItemEventsItemInstancesRequestBuilderInternal instantiates a new ItemEventsItemInstancesRequestBuilder and sets the default values. func NewItemEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesRequestBuilder) { m := &ItemEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_events_request_builder.go b/groups/item_events_request_builder.go index 4c0d79ebb51..50bcaa55712 100644 --- a/groups/item_events_request_builder.go +++ b/groups/item_events_request_builder.go @@ -15,6 +15,8 @@ type ItemEventsRequestBuilder struct { type ItemEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemEventsRequestBuilder) ByEventId(eventId string)(*ItemEventsEventIte // NewItemEventsRequestBuilderInternal instantiates a new ItemEventsRequestBuilder and sets the default values. func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsRequestBuilder) { m := &ItemEventsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_getpasswordsinglesignoncredentials_get_password_single_sign_on_credentials_request_builder.go b/groups/item_getpasswordsinglesignoncredentials_get_password_single_sign_on_credentials_request_builder.go index 360957742fd..fcd9b762c87 100644 --- a/groups/item_getpasswordsinglesignoncredentials_get_password_single_sign_on_credentials_request_builder.go +++ b/groups/item_getpasswordsinglesignoncredentials_get_password_single_sign_on_credentials_request_builder.go @@ -30,10 +30,13 @@ func NewItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentials urlParams["request-raw-url"] = rawUrl return NewItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action getPasswordSingleSignOnCredentials +// Post get the list of password-based single sign-on credentials for a group. This API returns the encrypted passwords as null. // Deprecated: This method is obsolete. Use PostAsGetPasswordSingleSignOnCredentialsPostResponse instead. // returns a ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/group-getpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredential } return res.(ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsResponseable), nil } -// PostAsGetPasswordSingleSignOnCredentialsPostResponse invoke action getPasswordSingleSignOnCredentials +// PostAsGetPasswordSingleSignOnCredentialsPostResponse get the list of password-based single sign-on credentials for a group. This API returns the encrypted passwords as null. // returns a ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/group-getpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilder) PostAsGetPasswordSingleSignOnCredentialsPostResponse(ctx context.Context, requestConfiguration *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredential } return res.(ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsPostResponseable), nil } -// ToPostRequestInformation invoke action getPasswordSingleSignOnCredentials +// ToPostRequestInformation get the list of password-based single sign-on credentials for a group. This API returns the encrypted passwords as null. // returns a *RequestInformation when successful func (m *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemGetpasswordsinglesignoncredentialsGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_members_ref_request_builder.go b/groups/item_members_ref_request_builder.go index 32e383326dc..99bdcb343f3 100644 --- a/groups/item_members_ref_request_builder.go +++ b/groups/item_members_ref_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post 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. +// Post 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. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -158,7 +158,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_photo_request_builder.go b/groups/item_photo_request_builder.go index a50866caa19..18a80a3aeeb 100644 --- a/groups/item_photo_request_builder.go +++ b/groups/item_photo_request_builder.go @@ -20,6 +20,8 @@ type ItemPhotoRequestBuilderDeleteRequestConfiguration struct { } // ItemPhotoRequestBuilderGetQueryParameters the group's profile photo. type ItemPhotoRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemPhotoRequestBuilderPatchRequestConfiguration struct { // NewItemPhotoRequestBuilderInternal instantiates a new ItemPhotoRequestBuilder and sets the default values. func NewItemPhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotoRequestBuilder) { m := &ItemPhotoRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photo{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photo{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_photos_item_value_content_request_builder.go b/groups/item_photos_item_value_content_request_builder.go index eeb30476398..5676d5b58b8 100644 --- a/groups/item_photos_item_value_content_request_builder.go +++ b/groups/item_photos_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *ItemPhotosItemValueContentRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get the unique identifier for an entity. Read-only. +// Get retrieve a list of profilePhoto objects. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/group-list-photos?view=graph-rest-beta func (m *ItemPhotosItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPhotosItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation retrieve a list of profilePhoto objects. // returns a *RequestInformation when successful func (m *ItemPhotosItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPhotosItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_photos_profile_photo_item_request_builder.go b/groups/item_photos_profile_photo_item_request_builder.go index c334dde2c82..f4900ea84d3 100644 --- a/groups/item_photos_profile_photo_item_request_builder.go +++ b/groups/item_photos_profile_photo_item_request_builder.go @@ -13,6 +13,8 @@ type ItemPhotosProfilePhotoItemRequestBuilder struct { } // ItemPhotosProfilePhotoItemRequestBuilderGetQueryParameters the profile photos owned by the group. Read-only. Nullable. type ItemPhotosProfilePhotoItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemPhotosProfilePhotoItemRequestBuilderGetRequestConfiguration struct { // NewItemPhotosProfilePhotoItemRequestBuilderInternal instantiates a new ItemPhotosProfilePhotoItemRequestBuilder and sets the default values. func NewItemPhotosProfilePhotoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotosProfilePhotoItemRequestBuilder) { m := &ItemPhotosProfilePhotoItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos/{profilePhoto%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos/{profilePhoto%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_photos_request_builder.go b/groups/item_photos_request_builder.go index b2c6db2d834..32999483165 100644 --- a/groups/item_photos_request_builder.go +++ b/groups/item_photos_request_builder.go @@ -15,6 +15,8 @@ type ItemPhotosRequestBuilder struct { type ItemPhotosRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemPhotosRequestBuilder) ByProfilePhotoId(profilePhotoId string)(*Item // NewItemPhotosRequestBuilderInternal instantiates a new ItemPhotosRequestBuilder and sets the default values. func NewItemPhotosRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotosRequestBuilder) { m := &ItemPhotosRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_rejectedsenders_ref_request_builder.go b/groups/item_rejectedsenders_ref_request_builder.go index 7aeeee02d4b..e03f1f44d90 100644 --- a/groups/item_rejectedsenders_ref_request_builder.go +++ b/groups/item_rejectedsenders_ref_request_builder.go @@ -33,6 +33,8 @@ type ItemRejectedsendersRefRequestBuilderGetQueryParameters struct { Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // Show only the first n items @@ -57,7 +59,7 @@ type ItemRejectedsendersRefRequestBuilderPostRequestConfiguration struct { // NewItemRejectedsendersRefRequestBuilderInternal instantiates a new ItemRejectedsendersRefRequestBuilder and sets the default values. func NewItemRejectedsendersRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRejectedsendersRefRequestBuilder) { m := &ItemRejectedsendersRefRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), } return m } @@ -145,7 +147,7 @@ func (m *ItemRejectedsendersRefRequestBuilder) ToDeleteRequestInformation(ctx co // ToGetRequestInformation get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. // returns a *RequestInformation when successful func (m *ItemRejectedsendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedsendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) diff --git a/groups/item_rejectedsenders_rejected_senders_request_builder.go b/groups/item_rejectedsenders_rejected_senders_request_builder.go index 545a60675ee..64fac13f21c 100644 --- a/groups/item_rejectedsenders_rejected_senders_request_builder.go +++ b/groups/item_rejectedsenders_rejected_senders_request_builder.go @@ -15,6 +15,8 @@ type ItemRejectedsendersRejectedSendersRequestBuilder struct { type ItemRejectedsendersRejectedSendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemRejectedsendersRejectedSendersRequestBuilder) ByDirectoryObjectId(d // NewItemRejectedsendersRejectedSendersRequestBuilderInternal instantiates a new ItemRejectedsendersRejectedSendersRequestBuilder and sets the default values. func NewItemRejectedsendersRejectedSendersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRejectedsendersRejectedSendersRequestBuilder) { m := &ItemRejectedsendersRejectedSendersRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_sites_item_lists_item_items_item_permissions_count_request_builder.go b/groups/item_sites_item_lists_item_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..16426e0045d --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) { + m := &ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder instantiates a new ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_request_body.go b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..69c7b460d99 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody()(*ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_response.go b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..fb4381b2266 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse()(*ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_grant_request_builder.go b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..8391a3fa1d3 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemSitesItemListsItemItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemListsItemItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSitesItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSitesItemListsItemItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_grant_response.go b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..d6ffdcea7e8 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable instead. +type ItemSitesItemListsItemItemsItemPermissionsItemGrantResponse struct { + ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse +} +// NewItemSitesItemListsItemItemsItemPermissionsItemGrantResponse instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemGrantResponse and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemGrantResponse()(*ItemSitesItemListsItemItemsItemPermissionsItemGrantResponse) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemGrantResponse{ + ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse: *NewItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemSitesItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable instead. +type ItemSitesItemListsItemItemsItemPermissionsItemGrantResponseable interface { + ItemSitesItemListsItemItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..27d09c44508 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..96fbfd66f20 --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_permission_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..4fdd083554f --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from groups +type ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for groups +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_permissions_request_builder.go b/groups/item_sites_item_lists_item_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..9e2ce16820a --- /dev/null +++ b/groups/item_sites_item_lists_item_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemSitesItemListsItemItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from groups +type ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemSitesItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemSitesItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSitesItemListsItemItemsItemPermissionsRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) { + m := &ItemSitesItemListsItemItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemItemsItemPermissionsRequestBuilder instantiates a new ItemSitesItemListsItemItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) Count()(*ItemSitesItemListsItemItemsItemPermissionsCountRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from groups +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go index 024cd963ff0..76b6ed71bf8 100644 --- a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go @@ -155,6 +155,11 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Patch(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemSitesItemListsItemItemsItemPermissionsRequestBuilder when successful +func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Permissions()(*ItemSitesItemListsItemItemsItemPermissionsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property items for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_sites_item_lists_item_items_request_builder.go b/groups/item_sites_item_lists_item_items_request_builder.go index 434dcac9290..a5befec5fe0 100644 --- a/groups/item_sites_item_lists_item_items_request_builder.go +++ b/groups/item_sites_item_lists_item_items_request_builder.go @@ -13,6 +13,8 @@ type ItemSitesItemListsItemItemsRequestBuilder struct { } // ItemSitesItemListsItemItemsRequestBuilderGetQueryParameters all items contained in the list. type ItemSitesItemListsItemItemsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values @@ -59,7 +61,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) ByListItemId(listItemId stri // NewItemSitesItemListsItemItemsRequestBuilderInternal instantiates a new ItemSitesItemListsItemItemsRequestBuilder and sets the default values. func NewItemSitesItemListsItemItemsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemItemsRequestBuilder) { m := &ItemSitesItemListsItemItemsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_sites_item_lists_item_permissions_count_request_builder.go b/groups/item_sites_item_lists_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..9930855d440 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemSitesItemListsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSitesItemListsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSitesItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemSitesItemListsItemPermissionsCountRequestBuilderInternal instantiates a new ItemSitesItemListsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsCountRequestBuilder) { + m := &ItemSitesItemListsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemPermissionsCountRequestBuilder instantiates a new ItemSitesItemListsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemPermissionsCountRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemPermissionsCountRequestBuilder) { + return NewItemSitesItemListsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_permissions_item_grant_post_request_body.go b/groups/item_sites_item_lists_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..b323ed2eaaf --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemSitesItemListsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSitesItemListsItemPermissionsItemGrantPostRequestBody instantiates a new ItemSitesItemListsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemSitesItemListsItemPermissionsItemGrantPostRequestBody()(*ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) { + m := &ItemSitesItemListsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSitesItemListsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemSitesItemListsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/groups/item_sites_item_lists_item_permissions_item_grant_post_response.go b/groups/item_sites_item_lists_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..2a7d3af2966 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemSitesItemListsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemSitesItemListsItemPermissionsItemGrantPostResponse instantiates a new ItemSitesItemListsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemSitesItemListsItemPermissionsItemGrantPostResponse()(*ItemSitesItemListsItemPermissionsItemGrantPostResponse) { + m := &ItemSitesItemListsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemSitesItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemSitesItemListsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/groups/item_sites_item_lists_item_permissions_item_grant_request_builder.go b/groups/item_sites_item_lists_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..858b6a66262 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemSitesItemListsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemSitesItemListsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) { + m := &ItemSitesItemListsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemSitesItemListsItemPermissionsItemGrantRequestBuilder instantiates a new ItemSitesItemListsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemSitesItemListsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemListsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSitesItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSitesItemListsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemSitesItemListsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemSitesItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemListsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSitesItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSitesItemListsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) { + return NewItemSitesItemListsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_permissions_item_grant_response.go b/groups/item_sites_item_lists_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..b1fadb1f044 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemSitesItemListsItemPermissionsItemGrantPostResponseable instead. +type ItemSitesItemListsItemPermissionsItemGrantResponse struct { + ItemSitesItemListsItemPermissionsItemGrantPostResponse +} +// NewItemSitesItemListsItemPermissionsItemGrantResponse instantiates a new ItemSitesItemListsItemPermissionsItemGrantResponse and sets the default values. +func NewItemSitesItemListsItemPermissionsItemGrantResponse()(*ItemSitesItemListsItemPermissionsItemGrantResponse) { + m := &ItemSitesItemListsItemPermissionsItemGrantResponse{ + ItemSitesItemListsItemPermissionsItemGrantPostResponse: *NewItemSitesItemListsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemSitesItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemSitesItemListsItemPermissionsItemGrantPostResponseable instead. +type ItemSitesItemListsItemPermissionsItemGrantResponseable interface { + ItemSitesItemListsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..2c769d95d19 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..e4c192ac009 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_permissions_permission_item_request_builder.go b/groups/item_sites_item_lists_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..341d8fa5d26 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from groups +type ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for groups +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemSitesItemListsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemSitesItemListsItemPermissionsItemGrantRequestBuilder) { + return NewItemSitesItemListsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemSitesItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) { + return NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_permissions_request_builder.go b/groups/item_sites_item_lists_item_permissions_request_builder.go new file mode 100644 index 00000000000..b66c7386ca2 --- /dev/null +++ b/groups/item_sites_item_lists_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSitesItemListsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemSitesItemListsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSitesItemListsItemPermissionsRequestBuilderGetQueryParameters get permissions from groups +type ItemSitesItemListsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSitesItemListsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSitesItemListsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemSitesItemListsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSitesItemListsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemSitesItemListsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemSitesItemListsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSitesItemListsItemPermissionsRequestBuilderInternal instantiates a new ItemSitesItemListsItemPermissionsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsRequestBuilder) { + m := &ItemSitesItemListsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSitesItemListsItemPermissionsRequestBuilder instantiates a new ItemSitesItemListsItemPermissionsRequestBuilder and sets the default values. +func NewItemSitesItemListsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSitesItemListsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSitesItemListsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSitesItemListsItemPermissionsCountRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) Count()(*ItemSitesItemListsItemPermissionsCountRequestBuilder) { + return NewItemSitesItemListsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from groups +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for groups +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for groups +// returns a *RequestInformation when successful +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemListsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSitesItemListsItemPermissionsRequestBuilder when successful +func (m *ItemSitesItemListsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemPermissionsRequestBuilder) { + return NewItemSitesItemListsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_list_item_request_builder.go b/groups/item_sites_item_lists_list_item_request_builder.go index 03a2f1acc79..f31c178ae9e 100644 --- a/groups/item_sites_item_lists_list_item_request_builder.go +++ b/groups/item_sites_item_lists_list_item_request_builder.go @@ -150,6 +150,11 @@ func (m *ItemSitesItemListsListItemRequestBuilder) Patch(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemSitesItemListsItemPermissionsRequestBuilder when successful +func (m *ItemSitesItemListsListItemRequestBuilder) Permissions()(*ItemSitesItemListsItemPermissionsRequestBuilder) { + return NewItemSitesItemListsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *ItemSitesItemListsItemSubscriptionsRequestBuilder when successful func (m *ItemSitesItemListsListItemRequestBuilder) Subscriptions()(*ItemSitesItemListsItemSubscriptionsRequestBuilder) { diff --git a/groups/item_team_schedule_schedulinggroups_scheduling_group_item_request_builder.go b/groups/item_team_schedule_schedulinggroups_scheduling_group_item_request_builder.go index 00dfb24809d..34c47a099dd 100644 --- a/groups/item_team_schedule_schedulinggroups_scheduling_group_item_request_builder.go +++ b/groups/item_team_schedule_schedulinggroups_scheduling_group_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderDeleteRequ } // ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderPatchReque // NewItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal instantiates a new ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder and sets the default values. func NewItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder) { m := &ItemTeamScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_team_schedule_schedulinggroups_scheduling_groups_request_builder.go b/groups/item_team_schedule_schedulinggroups_scheduling_groups_request_builder.go index b0b92fc1539..f69d3af524b 100644 --- a/groups/item_team_schedule_schedulinggroups_scheduling_groups_request_builder.go +++ b/groups/item_team_schedule_schedulinggroups_scheduling_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilder struct { type ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) BySched // NewItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal instantiates a new ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilder and sets the default values. func NewItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) { m := &ItemTeamScheduleSchedulinggroupsSchedulingGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_team_schedule_shifts_request_builder.go b/groups/item_team_schedule_shifts_request_builder.go index 34b9dedafce..7569a0fcdef 100644 --- a/groups/item_team_schedule_shifts_request_builder.go +++ b/groups/item_team_schedule_shifts_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamScheduleShiftsRequestBuilder struct { type ItemTeamScheduleShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*ItemTe // NewItemTeamScheduleShiftsRequestBuilderInternal instantiates a new ItemTeamScheduleShiftsRequestBuilder and sets the default values. func NewItemTeamScheduleShiftsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleShiftsRequestBuilder) { m := &ItemTeamScheduleShiftsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_team_schedule_shifts_shift_item_request_builder.go b/groups/item_team_schedule_shifts_shift_item_request_builder.go index 9583b1f0572..1028730be6b 100644 --- a/groups/item_team_schedule_shifts_shift_item_request_builder.go +++ b/groups/item_team_schedule_shifts_shift_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration str } // ItemTeamScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type ItemTeamScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration stru // NewItemTeamScheduleShiftsShiftItemRequestBuilderInternal instantiates a new ItemTeamScheduleShiftsShiftItemRequestBuilder and sets the default values. func NewItemTeamScheduleShiftsShiftItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleShiftsShiftItemRequestBuilder) { m := &ItemTeamScheduleShiftsShiftItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts/{shift%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts/{shift%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timeoffreasons_time_off_reason_item_request_builder.go b/groups/item_team_schedule_timeoffreasons_time_off_reason_item_request_builder.go index c2103e28bca..422fd9d4a9c 100644 --- a/groups/item_team_schedule_timeoffreasons_time_off_reason_item_request_builder.go +++ b/groups/item_team_schedule_timeoffreasons_time_off_reason_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderDeleteRequestC } // ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderPatchRequestCo // NewItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal instantiates a new ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder and sets the default values. func NewItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder) { m := &ItemTeamScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timeoffreasons_time_off_reasons_request_builder.go b/groups/item_team_schedule_timeoffreasons_time_off_reasons_request_builder.go index e167a98b2de..64a4eb55993 100644 --- a/groups/item_team_schedule_timeoffreasons_time_off_reasons_request_builder.go +++ b/groups/item_team_schedule_timeoffreasons_time_off_reasons_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilder struct { type ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) ByTimeOffRe // NewItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal instantiates a new ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilder and sets the default values. func NewItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) { m := &ItemTeamScheduleTimeoffreasonsTimeOffReasonsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timeoffrequests_time_off_request_item_request_builder.go b/groups/item_team_schedule_timeoffrequests_time_off_request_item_request_builder.go index 463a11a12d0..43e6a725617 100644 --- a/groups/item_team_schedule_timeoffrequests_time_off_request_item_request_builder.go +++ b/groups/item_team_schedule_timeoffrequests_time_off_request_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderDeleteReques } // ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderPatchRequest // NewItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal instantiates a new ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder and sets the default values. func NewItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder) { m := &ItemTeamScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timeoffrequests_time_off_requests_request_builder.go b/groups/item_team_schedule_timeoffrequests_time_off_requests_request_builder.go index 8b61fce7908..f456b9b82af 100644 --- a/groups/item_team_schedule_timeoffrequests_time_off_requests_request_builder.go +++ b/groups/item_team_schedule_timeoffrequests_time_off_requests_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilder struct { type ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) ByTimeOff // NewItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal instantiates a new ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilder and sets the default values. func NewItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) { m := &ItemTeamScheduleTimeoffrequestsTimeOffRequestsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timesoff_time_off_item_request_builder.go b/groups/item_team_schedule_timesoff_time_off_item_request_builder.go index 868cdd50643..ec883be208e 100644 --- a/groups/item_team_schedule_timesoff_time_off_item_request_builder.go +++ b/groups/item_team_schedule_timesoff_time_off_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamScheduleTimesoffTimeOffItemRequestBuilderDeleteRequestConfiguration } // ItemTeamScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamScheduleTimesoffTimeOffItemRequestBuilderPatchRequestConfiguration // NewItemTeamScheduleTimesoffTimeOffItemRequestBuilderInternal instantiates a new ItemTeamScheduleTimesoffTimeOffItemRequestBuilder and sets the default values. func NewItemTeamScheduleTimesoffTimeOffItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimesoffTimeOffItemRequestBuilder) { m := &ItemTeamScheduleTimesoffTimeOffItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/groups/item_team_schedule_timesoff_times_off_request_builder.go b/groups/item_team_schedule_timesoff_times_off_request_builder.go index eab8803ff57..62b44e5d8c3 100644 --- a/groups/item_team_schedule_timesoff_times_off_request_builder.go +++ b/groups/item_team_schedule_timesoff_times_off_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamScheduleTimesoffTimesOffRequestBuilder struct { type ItemTeamScheduleTimesoffTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamScheduleTimesoffTimesOffRequestBuilder) ByTimeOffId(timeOffId s // NewItemTeamScheduleTimesoffTimesOffRequestBuilderInternal instantiates a new ItemTeamScheduleTimesoffTimesOffRequestBuilder and sets the default values. func NewItemTeamScheduleTimesoffTimesOffRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleTimesoffTimesOffRequestBuilder) { m := &ItemTeamScheduleTimesoffTimesOffRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 944fc12e440..ea038e24747 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,8 +18,10 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemThreadsConversationThreadItemRequestBuilderPatchRequestConfiguration st // NewItemThreadsConversationThreadItemRequestBuilderInternal instantiates a new ItemThreadsConversationThreadItemRequestBuilder and sets the default values. func NewItemThreadsConversationThreadItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsConversationThreadItemRequestBuilder) { m := &ItemThreadsConversationThreadItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24expand,%24select}", pathParameters), } return m } @@ -52,11 +54,11 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete conversationThread. +// Delete delete a thread object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-beta func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +73,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. +// Get get a thread object. // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +129,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete conversationThread. +// ToDeleteRequestInformation delete a thread object. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +140,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. +// ToGetRequestInformation get a thread object. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_attachments_count_request_builder.go b/groups/item_threads_item_posts_item_attachments_count_request_builder.go index bf6fc469673..7ea8ad72c92 100644 --- a/groups/item_threads_item_posts_item_attachments_count_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemAttachmentsCountRequestBuilder struct { type ItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemAttachmentsCountRequestBuilderGetRequestConfigurati // NewItemThreadsItemPostsItemAttachmentsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemAttachmentsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemAttachmentsCountRequestBuilder) { m := &ItemThreadsItemPostsItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_attachments_request_builder.go b/groups/item_threads_item_posts_item_attachments_request_builder.go index 4cb3bc24613..ecac84cc194 100644 --- a/groups/item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. +// ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a post. type ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters struct Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ByAttachmentId(attac // NewItemThreadsItemPostsItemAttachmentsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemAttachmentsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemAttachmentsRequestBuilder) { m := &ItemThreadsItemPostsItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } @@ -79,9 +81,12 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Count()(*ItemThreads func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemThreadsItemPostsItemAttachmentsCreateuploadsessionCreateUploadSessionRequestBuilder) { return NewItemThreadsItemPostsItemAttachmentsCreateuploadsessionCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. +// Get retrieve a list of attachment objects attached to a post. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-beta func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +124,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. +// ToGetRequestInformation retrieve a list of attachment objects attached to a post. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_extensions_count_request_builder.go b/groups/item_threads_item_posts_item_extensions_count_request_builder.go index 8f1ed292054..f3eef03e5ed 100644 --- a/groups/item_threads_item_posts_item_extensions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemExtensionsCountRequestBuilder struct { type ItemThreadsItemPostsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemExtensionsCountRequestBuilderGetRequestConfiguratio // NewItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemExtensionsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemExtensionsCountRequestBuilder) { m := &ItemThreadsItemPostsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go index ae178943c9b..9d98ca8ab86 100644 --- a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters 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. type ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Delete(c } return nil } -// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// Get 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. // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-beta func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +93,12 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// Patch update the navigation property extensions in groups +// Patch 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. // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-beta func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +127,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property extensions in groups +// ToPatchRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_extensions_request_builder.go b/groups/item_threads_item_posts_item_extensions_request_builder.go index 0292a6d282c..8393c85a38f 100644 --- a/groups/item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters 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. type ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters struct { Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ByExtensionId(extensi // NewItemThreadsItemPostsItemExtensionsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemExtensionsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemExtensionsRequestBuilder) { m := &ItemThreadsItemPostsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } @@ -74,7 +76,7 @@ func NewItemThreadsItemPostsItemExtensionsRequestBuilder(rawUrl string, requestA func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Count()(*ItemThreadsItemPostsItemExtensionsCountRequestBuilder) { return NewItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// Get 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. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -114,7 +116,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go index baa81ca58a8..65839168940 100644 --- a/groups/item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder struct { type ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderGetRequestCo // NewItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_inreplyto_attachments_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_attachments_request_builder.go index 2158deae991..b1b2052f413 100644 --- a/groups/item_threads_item_posts_item_inreplyto_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilderGetQueryParameter Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder) ByAttachmen // NewItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go index 06fcd8c47c6..4e4ccafa115 100644 --- a/groups/item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder struct { type ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderGetRequestCon // NewItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_inreplyto_extensions_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_extensions_request_builder.go index 5d3fbb61153..788bab8a1d1 100644 --- a/groups/item_threads_item_posts_item_inreplyto_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderGetQueryParameters Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder) ByExtensionI // NewItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go index 9bef16e1906..09934e15d75 100644 --- a/groups/item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder struct { type ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderGetRequestConfi // NewItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_inreplyto_mentions_request_builder.go b/groups/item_threads_item_posts_item_inreplyto_mentions_request_builder.go index 315871220f4..54a836edfca 100644 --- a/groups/item_threads_item_posts_item_inreplyto_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_inreplyto_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemInreplytoMentionsRequestBuilderGetQueryParameters s Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemInreplytoMentionsRequestBuilder) ByMentionId(me // NewItemThreadsItemPostsItemInreplytoMentionsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemInreplytoMentionsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemInreplytoMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemInreplytoMentionsRequestBuilder) { m := &ItemThreadsItemPostsItemInreplytoMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_mentions_count_request_builder.go b/groups/item_threads_item_posts_item_mentions_count_request_builder.go index b6fe0f76337..1461c8c2e46 100644 --- a/groups/item_threads_item_posts_item_mentions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemThreadsItemPostsItemMentionsCountRequestBuilder struct { type ItemThreadsItemPostsItemMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemThreadsItemPostsItemMentionsCountRequestBuilderGetRequestConfiguration // NewItemThreadsItemPostsItemMentionsCountRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemMentionsCountRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemMentionsCountRequestBuilder) { m := &ItemThreadsItemPostsItemMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/groups/item_threads_item_posts_item_mentions_request_builder.go b/groups/item_threads_item_posts_item_mentions_request_builder.go index de8e293c293..db333736ede 100644 --- a/groups/item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemThreadsItemPostsItemMentionsRequestBuilderGetQueryParameters struct { Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ByMentionId(mentionId s // NewItemThreadsItemPostsItemMentionsRequestBuilderInternal instantiates a new ItemThreadsItemPostsItemMentionsRequestBuilder and sets the default values. func NewItemThreadsItemPostsItemMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsItemPostsItemMentionsRequestBuilder) { m := &ItemThreadsItemPostsItemMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/groups/item_threads_request_builder.go b/groups/item_threads_request_builder.go index d117fee967f..5ac43c22557 100644 --- a/groups/item_threads_request_builder.go +++ b/groups/item_threads_request_builder.go @@ -15,6 +15,8 @@ type ItemThreadsRequestBuilder struct { type ItemThreadsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemThreadsRequestBuilder) ByConversationThreadId(conversationThreadId // NewItemThreadsRequestBuilderInternal instantiates a new ItemThreadsRequestBuilder and sets the default values. func NewItemThreadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemThreadsRequestBuilder) { m := &ItemThreadsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/identity/authenticationeventsflows_item_conditions_applications_includeapplications_authentication_condition_application_app_item_request_builder.go b/identity/authenticationeventsflows_item_conditions_applications_includeapplications_authentication_condition_application_app_item_request_builder.go index 83e8cc771c1..0e294dc49e3 100644 --- a/identity/authenticationeventsflows_item_conditions_applications_includeapplications_authentication_condition_application_app_item_request_builder.go +++ b/identity/authenticationeventsflows_item_conditions_applications_includeapplications_authentication_condition_application_app_item_request_builder.go @@ -54,8 +54,11 @@ func NewAuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAu urlParams["request-raw-url"] = rawUrl return NewAuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property includeApplications for identity +// Delete remove or unlink an application from an external identities self-service sign-up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. This disables the authentication experience that's defined by the user flow for the application. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationconditionapplication-delete?view=graph-rest-beta func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +113,7 @@ func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil } -// ToDeleteRequestInformation delete navigation property includeApplications for identity +// ToDeleteRequestInformation remove or unlink an application from an external identities self-service sign-up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. This disables the authentication experience that's defined by the user flow for the application. // returns a *RequestInformation when successful func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/authenticationeventsflows_item_conditions_applications_includeapplications_include_applications_request_builder.go b/identity/authenticationeventsflows_item_conditions_applications_includeapplications_include_applications_request_builder.go index d89444fc198..319d7d4a1f5 100644 --- a/identity/authenticationeventsflows_item_conditions_applications_includeapplications_include_applications_request_builder.go +++ b/identity/authenticationeventsflows_item_conditions_applications_includeapplications_include_applications_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderGetQueryParameters get includeApplications from identity +// AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderGetQueryParameters list the applications linked to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. These are the applications for which the authentication experience that's defined by the user flow is enabled. type AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewAuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIn func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder) Count()(*AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsCountRequestBuilder) { return NewAuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get includeApplications from identity +// Get list the applications linked to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. These are the applications for which the authentication experience that's defined by the user flow is enabled. // returns a AuthenticationConditionApplicationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationconditionsapplications-list-includeapplications?view=graph-rest-beta func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable), nil } -// Post create new navigation property to includeApplications for identity +// Post add or link an application to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. This enables the authentication experience that's defined by the user flow to be enabled for the application. An application can only be linked to one user flow. // returns a AuthenticationConditionApplicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationconditionsapplications-post-includeapplications?view=graph-rest-beta func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil } -// ToGetRequestInformation get includeApplications from identity +// ToGetRequestInformation list the applications linked to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. These are the applications for which the authentication experience that's defined by the user flow is enabled. // returns a *RequestInformation when successful func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to includeApplications for identity +// ToPostRequestInformation add or link an application to an external identities self-service sign up user flow that's represented by an externalUsersSelfServiceSignupEventsFlow object. This enables the authentication experience that's defined by the user flow to be enabled for the application. An application can only be linked to one user flow. // returns a *RequestInformation when successful func (m *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationeventsflowsItemConditionsApplicationsIncludeapplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2cuserflows_item_languages_item_defaultpages_default_pages_request_builder.go b/identity/b2cuserflows_item_languages_item_defaultpages_default_pages_request_builder.go index 53065600612..b1b5aacb3ab 100644 --- a/identity/b2cuserflows_item_languages_item_defaultpages_default_pages_request_builder.go +++ b/identity/b2cuserflows_item_languages_item_defaultpages_default_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilderGetQueryParameters 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. +// B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilderGetQueryParameters get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. type B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewB2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder(rawU func (m *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder) Count()(*B2cuserflowsItemLanguagesItemDefaultpagesCountRequestBuilder) { return NewB2cuserflowsItemLanguagesItemDefaultpagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemDefaultpagesDefaultPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2cuserflows_item_languages_item_defaultpages_item_value_content_request_builder.go b/identity/b2cuserflows_item_languages_item_defaultpages_item_value_content_request_builder.go index 64a538d1132..1bc7ffae0c4 100644 --- a/identity/b2cuserflows_item_languages_item_defaultpages_item_value_content_request_builder.go +++ b/identity/b2cuserflows_item_languages_item_defaultpages_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilder } return nil } -// Get the unique identifier for an entity. Read-only. +// Get get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemDefaultpagesItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2cuserflows_item_languages_item_overridespages_item_value_content_request_builder.go b/identity/b2cuserflows_item_languages_item_overridespages_item_value_content_request_builder.go index 2cb98d350b4..48ea2d9d7b2 100644 --- a/identity/b2cuserflows_item_languages_item_overridespages_item_value_content_request_builder.go +++ b/identity/b2cuserflows_item_languages_item_overridespages_item_value_content_request_builder.go @@ -44,8 +44,11 @@ func NewB2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilde urlParams["request-raw-url"] = rawUrl return NewB2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete the unique identifier for an entity. Read-only. +// Delete 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. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguagepage-delete?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,9 +63,12 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuild } return nil } -// Get the unique identifier for an entity. Read-only. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +86,12 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuild } return res.([]byte), nil } -// Put the unique identifier for an entity. Read-only. +// Put 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguagepage-put?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -100,7 +109,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuild } return res.([]byte), nil } -// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// ToDeleteRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +120,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +131,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuild requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation the unique identifier for an entity. Read-only. +// ToPutRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2cuserflows_item_languages_item_overridespages_overrides_pages_request_builder.go b/identity/b2cuserflows_item_languages_item_overridespages_overrides_pages_request_builder.go index 6cefaedfef4..a93b5cae6df 100644 --- a/identity/b2cuserflows_item_languages_item_overridespages_overrides_pages_request_builder.go +++ b/identity/b2cuserflows_item_languages_item_overridespages_overrides_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). +// B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilderGetQueryParameters 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. type B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewB2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder( func (m *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder) Count()(*B2cuserflowsItemLanguagesItemOverridespagesCountRequestBuilder) { return NewB2cuserflowsItemLanguagesItemOverridespagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). +// Get 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. // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesOverridesPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2cuserflows_item_languages_item_overridespages_user_flow_language_page_item_request_builder.go b/identity/b2cuserflows_item_languages_item_overridespages_user_flow_language_page_item_request_builder.go index c4e15adb2a2..226b48e51a5 100644 --- a/identity/b2cuserflows_item_languages_item_overridespages_user_flow_language_page_item_request_builder.go +++ b/identity/b2cuserflows_item_languages_item_overridespages_user_flow_language_page_item_request_builder.go @@ -59,8 +59,11 @@ func NewB2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemReque func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilder) Content()(*B2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilder) { return NewB2cuserflowsItemLanguagesItemOverridespagesItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete navigation property overridesPages for identity +// Delete 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. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguagepage-delete?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,9 +98,12 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// Patch update the navigation property overridesPages in identity +// Patch 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. // returns a UserFlowLanguagePageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguagepage-put?view=graph-rest-beta func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +121,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToDeleteRequestInformation delete navigation property overridesPages for identity +// ToDeleteRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +146,7 @@ func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property overridesPages in identity +// ToPatchRequestInformation 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. // returns a *RequestInformation when successful func (m *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, requestConfiguration *B2cuserflowsItemLanguagesItemOverridespagesUserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditionalaccess_namedlocations_named_location_item_request_builder.go b/identity/conditionalaccess_namedlocations_named_location_item_request_builder.go index c49bc2e918a..58385b2efff 100644 --- a/identity/conditionalaccess_namedlocations_named_location_item_request_builder.go +++ b/identity/conditionalaccess_namedlocations_named_location_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. +// ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation object. type ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewConditionalaccessNamedlocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalaccessNamedlocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a namedLocation object. +// Delete delete a countryNamedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-beta func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of an ipNamedLocation object. +// Get retrieve the properties and relationships of a namedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-beta func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +96,12 @@ func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// Patch update the properties of a countryNamedLocation object. +// Patch update the properties of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-beta func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToDeleteRequestInformation delete a namedLocation object. +// ToDeleteRequestInformation delete a countryNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +130,7 @@ func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of a namedLocation object. // returns a *RequestInformation when successful func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +144,7 @@ func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a countryNamedLocation object. +// ToPatchRequestInformation update the properties of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalaccessNamedlocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_contactedreviewers_contacted_reviewers_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_contactedreviewers_contacted_reviewers_request_builder.go index df333143d80..e8dcc77c21b 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_contactedreviewers_contacted_reviewers_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_contactedreviewers_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilderGetQueryParameters 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. +// AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilderGetQueryParameters 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. type AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewAccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedRevi func (m *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilder) Count()(*AccessreviewsDefinitionsItemInstancesItemContactedreviewersCountRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemContactedreviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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 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. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedRev } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemContactedreviewersContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index ad208cee83b..cdd6638827a 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecis // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. type AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD } return nil } -// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +134,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_decisions_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_decisions_request_builder.go index 88df007cfc7..303d008c89f 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_decisions_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,9 +81,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Count func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessreviewsDefinitionsItemInstancesItemDecisionsFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemDecisionsFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Post( func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessreviewsDefinitionsItemInstancesItemDecisionsRecordalldecisionsRecordAllDecisionsRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemDecisionsRecordalldecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go index fd6289ffab7..3ee63c4efe0 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters 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. +// AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. type AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq } return nil } -// Get 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. +// Get retrieve the properties and relationships of an accessReviewStage object. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,9 +98,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the navigation property stages in identityGovernance +// Patch 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. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +137,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +151,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property stages in identityGovernance +// ToPatchRequestInformation 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. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 811577c08d5..76106d40370 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewIns // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. type AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie } return nil } -// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,9 +103,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Instance()(*AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property decisions in identityGovernance +// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +137,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +151,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property decisions in identityGovernance +// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_request_builder.go index 50cd6da6749..4857234330e 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. type AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,9 +81,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordalldecisionsRecordAllDecisionsRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordalldecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. +// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/accessreviews_definitions_item_instances_item_stages_request_builder.go b/identitygovernance/accessreviews_definitions_item_instances_item_stages_request_builder.go index 3985e82bea5..ecc85c2d33c 100644 --- a/identitygovernance/accessreviews_definitions_item_instances_item_stages_request_builder.go +++ b/identitygovernance/accessreviews_definitions_item_instances_item_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters 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. +// AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. type AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,9 +81,12 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder) Count()( func (m *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessreviewsDefinitionsItemInstancesItemStagesFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilder) { return NewAccessreviewsDefinitionsItemInstancesItemStagesFilterbycurrentuserwithonFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get 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. +// Get retrieve the stages in a multi-stage access review instance. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-beta func (m *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +124,7 @@ func (m *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. // returns a *RequestInformation when successful func (m *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessreviewsDefinitionsItemInstancesItemStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlementmanagement_accesspackagecatalogs_item_accesspackagecustomworkflowextensions_custom_callout_extension_item_request_builder.go b/identitygovernance/entitlementmanagement_accesspackagecatalogs_item_accesspackagecustomworkflowextensions_custom_callout_extension_item_request_builder.go index 3f8a35ad173..bdc8635a31b 100644 --- a/identitygovernance/entitlementmanagement_accesspackagecatalogs_item_accesspackagecustomworkflowextensions_custom_callout_extension_item_request_builder.go +++ b/identitygovernance/entitlementmanagement_accesspackagecatalogs_item_accesspackagecustomworkflowextensions_custom_callout_extension_item_request_builder.go @@ -95,13 +95,13 @@ func (m *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// Patch update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-beta func (m *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkflowextensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkflowextensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -146,7 +146,7 @@ func (m *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// ToPatchRequestInformation update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkflowextensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementmanagementAccesspackagecatalogsItemAccesspackagecustomworkflowextensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlementmanagement_accesspackages_access_package_item_request_builder.go b/identitygovernance/entitlementmanagement_accesspackages_access_package_item_request_builder.go index adc67f93940..b5181607e9e 100644 --- a/identitygovernance/entitlementmanagement_accesspackages_access_package_item_request_builder.go +++ b/identitygovernance/entitlementmanagement_accesspackages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,12 +93,12 @@ func (m *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta func (m *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -170,7 +170,7 @@ func (m *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementmanagementAccesspackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_taskprocessingresults_task_processing_results_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_taskprocessingresults_task_processing_results_request_builder.go index f2817528d96..82b24266b8b 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_taskprocessingresults_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_taskprocessingresults_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters the related taskProcessingResults. +// LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters get the taskProcessingResult resources for a run. type LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewLifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessi func (m *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the related taskProcessingResults. +// Get get the taskProcessingResult resources for a run. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcess } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the related taskProcessingResults. +// ToGetRequestInformation get the taskProcessingResult resources for a run. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go index 5fa8dd41d39..c416958e2e3 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. +// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskproc func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the associated individual task execution. +// Get get the task processing result from a userProcessingResult either directly or through a run. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskpro } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the associated individual task execution. +// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_result_item_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_result_item_request_builder.go index 0b0ad0ecb2b..368f60cb341 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_result_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderGetQueryParameters the associated individual user execution. +// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderGetQueryParameters get the user processing result of a user processing result of a run. type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,9 +40,12 @@ func NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessi urlParams["request-raw-url"] = rawUrl return NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get the associated individual user execution. +// Get get the user processing result of a user processing result of a run. // returns a UserProcessingResultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,7 +73,7 @@ func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcess func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilder) TaskProcessingResults()(*LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation the associated individual user execution. +// ToGetRequestInformation get the user processing result of a user processing result of a run. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_results_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_results_request_builder.go index 59aec3a902b..ca8275624a9 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_runs_item_userprocessingresults_user_processing_results_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilderGetQueryParameters the associated individual user execution. +// LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilderGetQueryParameters get user processing results of a workflow run object. type LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,9 +70,12 @@ func NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessi func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the associated individual user execution. +// Get get user processing results of a workflow run object. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +98,7 @@ func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcess func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation the associated individual user execution. +// ToGetRequestInformation get user processing results of a workflow run object. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsItemUserprocessingresultsUserProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_runs_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_runs_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 807710ac37a..b1fd2c32a7e 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_runs_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_runs_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -38,7 +38,7 @@ func NewLifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesumma urlParams["request-raw-url"] = rawUrl return NewLifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function summary +// Get 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. // returns a RunSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.RunSummaryable, error) { @@ -58,7 +58,7 @@ func (m *LifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesumm } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.RunSummaryable), nil } -// ToGetRequestInformation invoke function summary +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemRunsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_taskreports_item_taskprocessingresults_task_processing_results_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_taskreports_item_taskprocessingresults_task_processing_results_request_builder.go index 9498a0ef941..370c071c976 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_taskreports_item_taskprocessingresults_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_taskreports_item_taskprocessingresults_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters the related lifecycle workflow taskProcessingResults. +// LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result resources from the taskReport. type LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewLifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskP func (m *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the related lifecycle workflow taskProcessingResults. +// Get get the task processing result resources from the taskReport. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTask } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the related lifecycle workflow taskProcessingResults. +// ToGetRequestInformation get the task processing result resources from the taskReport. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemTaskreportsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_taskreports_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_taskreports_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index c613c5819bc..4d6e6582e4f 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_taskreports_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_taskreports_microsoftgraphidentitygovernancesummarywithstartdatetimewithenddatetime_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -38,7 +38,7 @@ func NewLifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernan urlParams["request-raw-url"] = rawUrl return NewLifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function summary +// Get 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. // returns a TaskReportSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskReportSummaryable, error) { @@ -58,7 +58,7 @@ func (m *LifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygoverna } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskReportSummaryable), nil } -// ToGetRequestInformation invoke function summary +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemTaskreportsMicrosoftgraphidentitygovernancesummarywithstartdatetimewithenddatetimeMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go index c4527916435..e9c6d647856 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_userprocessingresults_item_taskprocessingresults_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. +// LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. type LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewLifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingre func (m *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the associated individual task execution. +// Get get the task processing result from a userProcessingResult either directly or through a run. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingr } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the associated individual task execution. +// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemUserprocessingresultsItemTaskprocessingresultsTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_request_builder.go index 57e5eea218b..eaacd2a217e 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilderGetQueryParameters the tasks in the workflow. +// LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilderGetQueryParameters get a list of task objects in a workflowVersion. type LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewLifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder(rawUrl st func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder) Count()(*LifecycleworkflowsWorkflowsItemVersionsItemTasksCountRequestBuilder) { return NewLifecycleworkflowsWorkflowsItemVersionsItemTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the tasks in the workflow. +// Get get a list of task objects in a workflowVersion. // returns a TaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-list-tasks?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder) Post(ct } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Taskable), nil } -// ToGetRequestInformation the tasks in the workflow. +// ToGetRequestInformation get a list of task objects in a workflowVersion. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemVersionsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_task_item_request_builder.go index 3389eb7ac02..6f0b3ab4eab 100644 --- a/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycleworkflows_workflows_item_versions_item_tasks_task_item_request_builder.go @@ -18,7 +18,7 @@ type LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderGetQueryParameters the tasks in the workflow. +// LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderGetQueryParameters get a specific task from a workflow or workflowVersion. type LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) } return nil } -// Get the tasks in the workflow. +// Get get a specific task from a workflow or workflowVersion. // returns a Taskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-task-get?view=graph-rest-beta func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Taskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the tasks in the workflow. +// ToGetRequestInformation get a specific task from a workflow or workflowVersion. // returns a *RequestInformation when successful func (m *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleworkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/termsofuse_agreements_agreement_item_request_builder.go b/identitygovernance/termsofuse_agreements_agreement_item_request_builder.go index 240f9453520..c1721f287b9 100644 --- a/identitygovernance/termsofuse_agreements_agreement_item_request_builder.go +++ b/identitygovernance/termsofuse_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsofuseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsofuseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. +// TermsofuseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. type TermsofuseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *TermsofuseAgreementsAgreementItemRequestBuilder) File()(*TermsofuseAgre func (m *TermsofuseAgreementsAgreementItemRequestBuilder) Files()(*TermsofuseAgreementsItemFilesRequestBuilder) { return NewTermsofuseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all files related to an agreement. This includes the default file and all localized files. +// Get retrieve the properties and relationships of an agreement object. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta func (m *TermsofuseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsofuseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *TermsofuseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. +// ToGetRequestInformation retrieve the properties and relationships of an agreement object. // returns a *RequestInformation when successful func (m *TermsofuseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsofuseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-lock.json b/kiota-lock.json index f0bfb0b80cb..0f9a89d870d 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B65DB1620D2CAEBA226AC1695F4BEFCA080C45B8843DA398C5D42E13415B8E057BC77FA6FDC2B8BB9BFFCEE80C17E31AF7DDAFADE6CC9D241ADBF95F97153664", + "descriptionHash": "AAAD49C830E7C8A218BB6C002230DF63EB4D41820C4984020B80522204869B959229A0A5DF42558CD4BAFCEC459077984F121B7E851FE49CA2B0E1D6210B04AF", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.15.0", diff --git a/models/all_pre_approved_permissions.go b/models/all_pre_approved_permissions.go new file mode 100644 index 00000000000..247f7bfb5ce --- /dev/null +++ b/models/all_pre_approved_permissions.go @@ -0,0 +1,41 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllPreApprovedPermissions struct { + PreApprovedPermissions +} +// NewAllPreApprovedPermissions instantiates a new AllPreApprovedPermissions and sets the default values. +func NewAllPreApprovedPermissions()(*AllPreApprovedPermissions) { + m := &AllPreApprovedPermissions{ + PreApprovedPermissions: *NewPreApprovedPermissions(), + } + odataTypeValue := "#microsoft.graph.allPreApprovedPermissions" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllPreApprovedPermissionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllPreApprovedPermissionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllPreApprovedPermissions(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllPreApprovedPermissions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PreApprovedPermissions.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AllPreApprovedPermissions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PreApprovedPermissions.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AllPreApprovedPermissionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PreApprovedPermissionsable +} diff --git a/models/all_pre_approved_permissions_on_resource_app.go b/models/all_pre_approved_permissions_on_resource_app.go new file mode 100644 index 00000000000..a1524dc222c --- /dev/null +++ b/models/all_pre_approved_permissions_on_resource_app.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllPreApprovedPermissionsOnResourceApp struct { + PreApprovedPermissions +} +// NewAllPreApprovedPermissionsOnResourceApp instantiates a new AllPreApprovedPermissionsOnResourceApp and sets the default values. +func NewAllPreApprovedPermissionsOnResourceApp()(*AllPreApprovedPermissionsOnResourceApp) { + m := &AllPreApprovedPermissionsOnResourceApp{ + PreApprovedPermissions: *NewPreApprovedPermissions(), + } + odataTypeValue := "#microsoft.graph.allPreApprovedPermissionsOnResourceApp" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllPreApprovedPermissionsOnResourceAppFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllPreApprovedPermissionsOnResourceAppFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllPreApprovedPermissionsOnResourceApp(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllPreApprovedPermissionsOnResourceApp) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PreApprovedPermissions.GetFieldDeserializers() + res["resourceApplicationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceApplicationId(val) + } + return nil + } + return res +} +// GetResourceApplicationId gets the resourceApplicationId property value. The appId of the resource application (the API). Required. +// returns a *string when successful +func (m *AllPreApprovedPermissionsOnResourceApp) GetResourceApplicationId()(*string) { + val, err := m.GetBackingStore().Get("resourceApplicationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AllPreApprovedPermissionsOnResourceApp) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PreApprovedPermissions.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("resourceApplicationId", m.GetResourceApplicationId()) + if err != nil { + return err + } + } + return nil +} +// SetResourceApplicationId sets the resourceApplicationId property value. The appId of the resource application (the API). Required. +func (m *AllPreApprovedPermissionsOnResourceApp) SetResourceApplicationId(value *string)() { + err := m.GetBackingStore().Set("resourceApplicationId", value) + if err != nil { + panic(err) + } +} +type AllPreApprovedPermissionsOnResourceAppable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PreApprovedPermissionsable + GetResourceApplicationId()(*string) + SetResourceApplicationId(value *string)() +} diff --git a/models/all_scope_sensitivity_labels.go b/models/all_scope_sensitivity_labels.go new file mode 100644 index 00000000000..0dcb832c50d --- /dev/null +++ b/models/all_scope_sensitivity_labels.go @@ -0,0 +1,41 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllScopeSensitivityLabels struct { + ScopeSensitivityLabels +} +// NewAllScopeSensitivityLabels instantiates a new AllScopeSensitivityLabels and sets the default values. +func NewAllScopeSensitivityLabels()(*AllScopeSensitivityLabels) { + m := &AllScopeSensitivityLabels{ + ScopeSensitivityLabels: *NewScopeSensitivityLabels(), + } + odataTypeValue := "#microsoft.graph.allScopeSensitivityLabels" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllScopeSensitivityLabelsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllScopeSensitivityLabelsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllScopeSensitivityLabels(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllScopeSensitivityLabels) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ScopeSensitivityLabels.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AllScopeSensitivityLabels) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ScopeSensitivityLabels.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AllScopeSensitivityLabelsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ScopeSensitivityLabelsable +} diff --git a/models/android_device_owner_kiosk_customization_system_navigation.go b/models/android_device_owner_kiosk_customization_system_navigation.go index a5614da9f34..838bbfa7dc4 100644 --- a/models/android_device_owner_kiosk_customization_system_navigation.go +++ b/models/android_device_owner_kiosk_customization_system_navigation.go @@ -7,7 +7,7 @@ const ( NOTCONFIGURED_ANDROIDDEVICEOWNERKIOSKCUSTOMIZATIONSYSTEMNAVIGATION AndroidDeviceOwnerKioskCustomizationSystemNavigation = iota // Home and overview buttons are enabled. NAVIGATIONENABLED_ANDROIDDEVICEOWNERKIOSKCUSTOMIZATIONSYSTEMNAVIGATION - // Only the home button is enabled. + // Only the home button is enabled. HOMEBUTTONONLY_ANDROIDDEVICEOWNERKIOSKCUSTOMIZATIONSYSTEMNAVIGATION ) diff --git a/models/artifact_restore_status.go b/models/artifact_restore_status.go new file mode 100644 index 00000000000..a7f79efdac0 --- /dev/null +++ b/models/artifact_restore_status.go @@ -0,0 +1,48 @@ +package models +type ArtifactRestoreStatus int + +const ( + ADDED_ARTIFACTRESTORESTATUS ArtifactRestoreStatus = iota + SCHEDULING_ARTIFACTRESTORESTATUS + SCHEDULED_ARTIFACTRESTORESTATUS + INPROGRESS_ARTIFACTRESTORESTATUS + SUCCEEDED_ARTIFACTRESTORESTATUS + FAILED_ARTIFACTRESTORESTATUS + UNKNOWNFUTUREVALUE_ARTIFACTRESTORESTATUS +) + +func (i ArtifactRestoreStatus) String() string { + return []string{"added", "scheduling", "scheduled", "inProgress", "succeeded", "failed", "unknownFutureValue"}[i] +} +func ParseArtifactRestoreStatus(v string) (any, error) { + result := ADDED_ARTIFACTRESTORESTATUS + switch v { + case "added": + result = ADDED_ARTIFACTRESTORESTATUS + case "scheduling": + result = SCHEDULING_ARTIFACTRESTORESTATUS + case "scheduled": + result = SCHEDULED_ARTIFACTRESTORESTATUS + case "inProgress": + result = INPROGRESS_ARTIFACTRESTORESTATUS + case "succeeded": + result = SUCCEEDED_ARTIFACTRESTORESTATUS + case "failed": + result = FAILED_ARTIFACTRESTORESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ARTIFACTRESTORESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeArtifactRestoreStatus(values []ArtifactRestoreStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ArtifactRestoreStatus) isMultiValue() bool { + return false +} diff --git a/models/azure_a_d_join_policy.go b/models/azure_a_d_join_policy.go index 095413921b1..1292a674bfd 100644 --- a/models/azure_a_d_join_policy.go +++ b/models/azure_a_d_join_policy.go @@ -110,7 +110,7 @@ func (m *AzureADJoinPolicy) GetIsAdminConfigurable()(*bool) { } return nil } -// GetLocalAdmins gets the localAdmins property value. The localAdmins property +// GetLocalAdmins gets the localAdmins property value. Determines who becomes a local administrator on joined devices. // returns a LocalAdminSettingsable when successful func (m *AzureADJoinPolicy) GetLocalAdmins()(LocalAdminSettingsable) { val, err := m.GetBackingStore().Get("localAdmins") @@ -193,7 +193,7 @@ func (m *AzureADJoinPolicy) SetIsAdminConfigurable(value *bool)() { panic(err) } } -// SetLocalAdmins sets the localAdmins property value. The localAdmins property +// SetLocalAdmins sets the localAdmins property value. Determines who becomes a local administrator on joined devices. func (m *AzureADJoinPolicy) SetLocalAdmins(value LocalAdminSettingsable)() { err := m.GetBackingStore().Set("localAdmins", value) if err != nil { diff --git a/models/backup_restore_root.go b/models/backup_restore_root.go new file mode 100644 index 00000000000..d03ba981d4e --- /dev/null +++ b/models/backup_restore_root.go @@ -0,0 +1,909 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BackupRestoreRoot struct { + Entity +} +// NewBackupRestoreRoot instantiates a new BackupRestoreRoot and sets the default values. +func NewBackupRestoreRoot()(*BackupRestoreRoot) { + m := &BackupRestoreRoot{ + Entity: *NewEntity(), + } + return m +} +// CreateBackupRestoreRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBackupRestoreRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBackupRestoreRoot(), nil +} +// GetDriveInclusionRules gets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant. +// returns a []DriveProtectionRuleable when successful +func (m *BackupRestoreRoot) GetDriveInclusionRules()([]DriveProtectionRuleable) { + val, err := m.GetBackingStore().Get("driveInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionRuleable) + } + return nil +} +// GetDriveProtectionUnits gets the driveProtectionUnits property value. The list of drive protection units in the tenant. +// returns a []DriveProtectionUnitable when successful +func (m *BackupRestoreRoot) GetDriveProtectionUnits()([]DriveProtectionUnitable) { + val, err := m.GetBackingStore().Get("driveProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionUnitable) + } + return nil +} +// GetExchangeProtectionPolicies gets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. +// returns a []ExchangeProtectionPolicyable when successful +func (m *BackupRestoreRoot) GetExchangeProtectionPolicies()([]ExchangeProtectionPolicyable) { + val, err := m.GetBackingStore().Get("exchangeProtectionPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeProtectionPolicyable) + } + return nil +} +// GetExchangeRestoreSessions gets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant. +// returns a []ExchangeRestoreSessionable when successful +func (m *BackupRestoreRoot) GetExchangeRestoreSessions()([]ExchangeRestoreSessionable) { + val, err := m.GetBackingStore().Get("exchangeRestoreSessions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeRestoreSessionable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BackupRestoreRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["driveInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionRuleable) + } + } + m.SetDriveInclusionRules(res) + } + return nil + } + res["driveProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionUnitable) + } + } + m.SetDriveProtectionUnits(res) + } + return nil + } + res["exchangeProtectionPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeProtectionPolicyable) + } + } + m.SetExchangeProtectionPolicies(res) + } + return nil + } + res["exchangeRestoreSessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeRestoreSessionable) + } + } + m.SetExchangeRestoreSessions(res) + } + return nil + } + res["mailboxInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionRuleable) + } + } + m.SetMailboxInclusionRules(res) + } + return nil + } + res["mailboxProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionUnitable) + } + } + m.SetMailboxProtectionUnits(res) + } + return nil + } + res["oneDriveForBusinessProtectionPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OneDriveForBusinessProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OneDriveForBusinessProtectionPolicyable) + } + } + m.SetOneDriveForBusinessProtectionPolicies(res) + } + return nil + } + res["oneDriveForBusinessRestoreSessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OneDriveForBusinessRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OneDriveForBusinessRestoreSessionable) + } + } + m.SetOneDriveForBusinessRestoreSessions(res) + } + return nil + } + res["protectionPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProtectionPolicyBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProtectionPolicyBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProtectionPolicyBaseable) + } + } + m.SetProtectionPolicies(res) + } + return nil + } + res["protectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProtectionUnitBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProtectionUnitBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProtectionUnitBaseable) + } + } + m.SetProtectionUnits(res) + } + return nil + } + res["restorePoints"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRestorePointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RestorePointable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RestorePointable) + } + } + m.SetRestorePoints(res) + } + return nil + } + res["restoreSessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRestoreSessionBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RestoreSessionBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RestoreSessionBaseable) + } + } + m.SetRestoreSessions(res) + } + return nil + } + res["serviceApps"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateServiceAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ServiceAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ServiceAppable) + } + } + m.SetServiceApps(res) + } + return nil + } + res["serviceStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateServiceStatusFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetServiceStatus(val.(ServiceStatusable)) + } + return nil + } + res["sharePointProtectionPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointProtectionPolicyable) + } + } + m.SetSharePointProtectionPolicies(res) + } + return nil + } + res["sharePointRestoreSessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointRestoreSessionable) + } + } + m.SetSharePointRestoreSessions(res) + } + return nil + } + res["siteInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionRuleable) + } + } + m.SetSiteInclusionRules(res) + } + return nil + } + res["siteProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionUnitable) + } + } + m.SetSiteProtectionUnits(res) + } + return nil + } + return res +} +// GetMailboxInclusionRules gets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant. +// returns a []MailboxProtectionRuleable when successful +func (m *BackupRestoreRoot) GetMailboxInclusionRules()([]MailboxProtectionRuleable) { + val, err := m.GetBackingStore().Get("mailboxInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionRuleable) + } + return nil +} +// GetMailboxProtectionUnits gets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant. +// returns a []MailboxProtectionUnitable when successful +func (m *BackupRestoreRoot) GetMailboxProtectionUnits()([]MailboxProtectionUnitable) { + val, err := m.GetBackingStore().Get("mailboxProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionUnitable) + } + return nil +} +// GetOneDriveForBusinessProtectionPolicies gets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant. +// returns a []OneDriveForBusinessProtectionPolicyable when successful +func (m *BackupRestoreRoot) GetOneDriveForBusinessProtectionPolicies()([]OneDriveForBusinessProtectionPolicyable) { + val, err := m.GetBackingStore().Get("oneDriveForBusinessProtectionPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OneDriveForBusinessProtectionPolicyable) + } + return nil +} +// GetOneDriveForBusinessRestoreSessions gets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant. +// returns a []OneDriveForBusinessRestoreSessionable when successful +func (m *BackupRestoreRoot) GetOneDriveForBusinessRestoreSessions()([]OneDriveForBusinessRestoreSessionable) { + val, err := m.GetBackingStore().Get("oneDriveForBusinessRestoreSessions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OneDriveForBusinessRestoreSessionable) + } + return nil +} +// GetProtectionPolicies gets the protectionPolicies property value. List of protection policies in the tenant. +// returns a []ProtectionPolicyBaseable when successful +func (m *BackupRestoreRoot) GetProtectionPolicies()([]ProtectionPolicyBaseable) { + val, err := m.GetBackingStore().Get("protectionPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProtectionPolicyBaseable) + } + return nil +} +// GetProtectionUnits gets the protectionUnits property value. List of protection units in the tenant. +// returns a []ProtectionUnitBaseable when successful +func (m *BackupRestoreRoot) GetProtectionUnits()([]ProtectionUnitBaseable) { + val, err := m.GetBackingStore().Get("protectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProtectionUnitBaseable) + } + return nil +} +// GetRestorePoints gets the restorePoints property value. List of restore points in the tenant. +// returns a []RestorePointable when successful +func (m *BackupRestoreRoot) GetRestorePoints()([]RestorePointable) { + val, err := m.GetBackingStore().Get("restorePoints") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RestorePointable) + } + return nil +} +// GetRestoreSessions gets the restoreSessions property value. List of restore sessions in the tenant. +// returns a []RestoreSessionBaseable when successful +func (m *BackupRestoreRoot) GetRestoreSessions()([]RestoreSessionBaseable) { + val, err := m.GetBackingStore().Get("restoreSessions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RestoreSessionBaseable) + } + return nil +} +// GetServiceApps gets the serviceApps property value. List of Backup Storage apps in the tenant. +// returns a []ServiceAppable when successful +func (m *BackupRestoreRoot) GetServiceApps()([]ServiceAppable) { + val, err := m.GetBackingStore().Get("serviceApps") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ServiceAppable) + } + return nil +} +// GetServiceStatus gets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service. +// returns a ServiceStatusable when successful +func (m *BackupRestoreRoot) GetServiceStatus()(ServiceStatusable) { + val, err := m.GetBackingStore().Get("serviceStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(ServiceStatusable) + } + return nil +} +// GetSharePointProtectionPolicies gets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant. +// returns a []SharePointProtectionPolicyable when successful +func (m *BackupRestoreRoot) GetSharePointProtectionPolicies()([]SharePointProtectionPolicyable) { + val, err := m.GetBackingStore().Get("sharePointProtectionPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointProtectionPolicyable) + } + return nil +} +// GetSharePointRestoreSessions gets the sharePointRestoreSessions property value. The list of SharePoint restore sessions available in the tenant. +// returns a []SharePointRestoreSessionable when successful +func (m *BackupRestoreRoot) GetSharePointRestoreSessions()([]SharePointRestoreSessionable) { + val, err := m.GetBackingStore().Get("sharePointRestoreSessions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointRestoreSessionable) + } + return nil +} +// GetSiteInclusionRules gets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant. +// returns a []SiteProtectionRuleable when successful +func (m *BackupRestoreRoot) GetSiteInclusionRules()([]SiteProtectionRuleable) { + val, err := m.GetBackingStore().Get("siteInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionRuleable) + } + return nil +} +// GetSiteProtectionUnits gets the siteProtectionUnits property value. The list of site protection units in the tenant. +// returns a []SiteProtectionUnitable when successful +func (m *BackupRestoreRoot) GetSiteProtectionUnits()([]SiteProtectionUnitable) { + val, err := m.GetBackingStore().Get("siteProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *BackupRestoreRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetDriveInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDriveInclusionRules())) + for i, v := range m.GetDriveInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("driveInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetDriveProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDriveProtectionUnits())) + for i, v := range m.GetDriveProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("driveProtectionUnits", cast) + if err != nil { + return err + } + } + if m.GetExchangeProtectionPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExchangeProtectionPolicies())) + for i, v := range m.GetExchangeProtectionPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("exchangeProtectionPolicies", cast) + if err != nil { + return err + } + } + if m.GetExchangeRestoreSessions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExchangeRestoreSessions())) + for i, v := range m.GetExchangeRestoreSessions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("exchangeRestoreSessions", cast) + if err != nil { + return err + } + } + if m.GetMailboxInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMailboxInclusionRules())) + for i, v := range m.GetMailboxInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mailboxInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetMailboxProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMailboxProtectionUnits())) + for i, v := range m.GetMailboxProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mailboxProtectionUnits", cast) + if err != nil { + return err + } + } + if m.GetOneDriveForBusinessProtectionPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOneDriveForBusinessProtectionPolicies())) + for i, v := range m.GetOneDriveForBusinessProtectionPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("oneDriveForBusinessProtectionPolicies", cast) + if err != nil { + return err + } + } + if m.GetOneDriveForBusinessRestoreSessions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOneDriveForBusinessRestoreSessions())) + for i, v := range m.GetOneDriveForBusinessRestoreSessions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", cast) + if err != nil { + return err + } + } + if m.GetProtectionPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProtectionPolicies())) + for i, v := range m.GetProtectionPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("protectionPolicies", cast) + if err != nil { + return err + } + } + if m.GetProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProtectionUnits())) + for i, v := range m.GetProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("protectionUnits", cast) + if err != nil { + return err + } + } + if m.GetRestorePoints() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRestorePoints())) + for i, v := range m.GetRestorePoints() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("restorePoints", cast) + if err != nil { + return err + } + } + if m.GetRestoreSessions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRestoreSessions())) + for i, v := range m.GetRestoreSessions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("restoreSessions", cast) + if err != nil { + return err + } + } + if m.GetServiceApps() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetServiceApps())) + for i, v := range m.GetServiceApps() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("serviceApps", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("serviceStatus", m.GetServiceStatus()) + if err != nil { + return err + } + } + if m.GetSharePointProtectionPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSharePointProtectionPolicies())) + for i, v := range m.GetSharePointProtectionPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sharePointProtectionPolicies", cast) + if err != nil { + return err + } + } + if m.GetSharePointRestoreSessions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSharePointRestoreSessions())) + for i, v := range m.GetSharePointRestoreSessions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sharePointRestoreSessions", cast) + if err != nil { + return err + } + } + if m.GetSiteInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSiteInclusionRules())) + for i, v := range m.GetSiteInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("siteInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetSiteProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSiteProtectionUnits())) + for i, v := range m.GetSiteProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("siteProtectionUnits", cast) + if err != nil { + return err + } + } + return nil +} +// SetDriveInclusionRules sets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant. +func (m *BackupRestoreRoot) SetDriveInclusionRules(value []DriveProtectionRuleable)() { + err := m.GetBackingStore().Set("driveInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetDriveProtectionUnits sets the driveProtectionUnits property value. The list of drive protection units in the tenant. +func (m *BackupRestoreRoot) SetDriveProtectionUnits(value []DriveProtectionUnitable)() { + err := m.GetBackingStore().Set("driveProtectionUnits", value) + if err != nil { + panic(err) + } +} +// SetExchangeProtectionPolicies sets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant. +func (m *BackupRestoreRoot) SetExchangeProtectionPolicies(value []ExchangeProtectionPolicyable)() { + err := m.GetBackingStore().Set("exchangeProtectionPolicies", value) + if err != nil { + panic(err) + } +} +// SetExchangeRestoreSessions sets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant. +func (m *BackupRestoreRoot) SetExchangeRestoreSessions(value []ExchangeRestoreSessionable)() { + err := m.GetBackingStore().Set("exchangeRestoreSessions", value) + if err != nil { + panic(err) + } +} +// SetMailboxInclusionRules sets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant. +func (m *BackupRestoreRoot) SetMailboxInclusionRules(value []MailboxProtectionRuleable)() { + err := m.GetBackingStore().Set("mailboxInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetMailboxProtectionUnits sets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant. +func (m *BackupRestoreRoot) SetMailboxProtectionUnits(value []MailboxProtectionUnitable)() { + err := m.GetBackingStore().Set("mailboxProtectionUnits", value) + if err != nil { + panic(err) + } +} +// SetOneDriveForBusinessProtectionPolicies sets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant. +func (m *BackupRestoreRoot) SetOneDriveForBusinessProtectionPolicies(value []OneDriveForBusinessProtectionPolicyable)() { + err := m.GetBackingStore().Set("oneDriveForBusinessProtectionPolicies", value) + if err != nil { + panic(err) + } +} +// SetOneDriveForBusinessRestoreSessions sets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant. +func (m *BackupRestoreRoot) SetOneDriveForBusinessRestoreSessions(value []OneDriveForBusinessRestoreSessionable)() { + err := m.GetBackingStore().Set("oneDriveForBusinessRestoreSessions", value) + if err != nil { + panic(err) + } +} +// SetProtectionPolicies sets the protectionPolicies property value. List of protection policies in the tenant. +func (m *BackupRestoreRoot) SetProtectionPolicies(value []ProtectionPolicyBaseable)() { + err := m.GetBackingStore().Set("protectionPolicies", value) + if err != nil { + panic(err) + } +} +// SetProtectionUnits sets the protectionUnits property value. List of protection units in the tenant. +func (m *BackupRestoreRoot) SetProtectionUnits(value []ProtectionUnitBaseable)() { + err := m.GetBackingStore().Set("protectionUnits", value) + if err != nil { + panic(err) + } +} +// SetRestorePoints sets the restorePoints property value. List of restore points in the tenant. +func (m *BackupRestoreRoot) SetRestorePoints(value []RestorePointable)() { + err := m.GetBackingStore().Set("restorePoints", value) + if err != nil { + panic(err) + } +} +// SetRestoreSessions sets the restoreSessions property value. List of restore sessions in the tenant. +func (m *BackupRestoreRoot) SetRestoreSessions(value []RestoreSessionBaseable)() { + err := m.GetBackingStore().Set("restoreSessions", value) + if err != nil { + panic(err) + } +} +// SetServiceApps sets the serviceApps property value. List of Backup Storage apps in the tenant. +func (m *BackupRestoreRoot) SetServiceApps(value []ServiceAppable)() { + err := m.GetBackingStore().Set("serviceApps", value) + if err != nil { + panic(err) + } +} +// SetServiceStatus sets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service. +func (m *BackupRestoreRoot) SetServiceStatus(value ServiceStatusable)() { + err := m.GetBackingStore().Set("serviceStatus", value) + if err != nil { + panic(err) + } +} +// SetSharePointProtectionPolicies sets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant. +func (m *BackupRestoreRoot) SetSharePointProtectionPolicies(value []SharePointProtectionPolicyable)() { + err := m.GetBackingStore().Set("sharePointProtectionPolicies", value) + if err != nil { + panic(err) + } +} +// SetSharePointRestoreSessions sets the sharePointRestoreSessions property value. The list of SharePoint restore sessions available in the tenant. +func (m *BackupRestoreRoot) SetSharePointRestoreSessions(value []SharePointRestoreSessionable)() { + err := m.GetBackingStore().Set("sharePointRestoreSessions", value) + if err != nil { + panic(err) + } +} +// SetSiteInclusionRules sets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant. +func (m *BackupRestoreRoot) SetSiteInclusionRules(value []SiteProtectionRuleable)() { + err := m.GetBackingStore().Set("siteInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetSiteProtectionUnits sets the siteProtectionUnits property value. The list of site protection units in the tenant. +func (m *BackupRestoreRoot) SetSiteProtectionUnits(value []SiteProtectionUnitable)() { + err := m.GetBackingStore().Set("siteProtectionUnits", value) + if err != nil { + panic(err) + } +} +type BackupRestoreRootable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDriveInclusionRules()([]DriveProtectionRuleable) + GetDriveProtectionUnits()([]DriveProtectionUnitable) + GetExchangeProtectionPolicies()([]ExchangeProtectionPolicyable) + GetExchangeRestoreSessions()([]ExchangeRestoreSessionable) + GetMailboxInclusionRules()([]MailboxProtectionRuleable) + GetMailboxProtectionUnits()([]MailboxProtectionUnitable) + GetOneDriveForBusinessProtectionPolicies()([]OneDriveForBusinessProtectionPolicyable) + GetOneDriveForBusinessRestoreSessions()([]OneDriveForBusinessRestoreSessionable) + GetProtectionPolicies()([]ProtectionPolicyBaseable) + GetProtectionUnits()([]ProtectionUnitBaseable) + GetRestorePoints()([]RestorePointable) + GetRestoreSessions()([]RestoreSessionBaseable) + GetServiceApps()([]ServiceAppable) + GetServiceStatus()(ServiceStatusable) + GetSharePointProtectionPolicies()([]SharePointProtectionPolicyable) + GetSharePointRestoreSessions()([]SharePointRestoreSessionable) + GetSiteInclusionRules()([]SiteProtectionRuleable) + GetSiteProtectionUnits()([]SiteProtectionUnitable) + SetDriveInclusionRules(value []DriveProtectionRuleable)() + SetDriveProtectionUnits(value []DriveProtectionUnitable)() + SetExchangeProtectionPolicies(value []ExchangeProtectionPolicyable)() + SetExchangeRestoreSessions(value []ExchangeRestoreSessionable)() + SetMailboxInclusionRules(value []MailboxProtectionRuleable)() + SetMailboxProtectionUnits(value []MailboxProtectionUnitable)() + SetOneDriveForBusinessProtectionPolicies(value []OneDriveForBusinessProtectionPolicyable)() + SetOneDriveForBusinessRestoreSessions(value []OneDriveForBusinessRestoreSessionable)() + SetProtectionPolicies(value []ProtectionPolicyBaseable)() + SetProtectionUnits(value []ProtectionUnitBaseable)() + SetRestorePoints(value []RestorePointable)() + SetRestoreSessions(value []RestoreSessionBaseable)() + SetServiceApps(value []ServiceAppable)() + SetServiceStatus(value ServiceStatusable)() + SetSharePointProtectionPolicies(value []SharePointProtectionPolicyable)() + SetSharePointRestoreSessions(value []SharePointRestoreSessionable)() + SetSiteInclusionRules(value []SiteProtectionRuleable)() + SetSiteProtectionUnits(value []SiteProtectionUnitable)() +} diff --git a/models/backup_service_consumer.go b/models/backup_service_consumer.go new file mode 100644 index 00000000000..b7c97da0332 --- /dev/null +++ b/models/backup_service_consumer.go @@ -0,0 +1,39 @@ +package models +type BackupServiceConsumer int + +const ( + UNKNOWN_BACKUPSERVICECONSUMER BackupServiceConsumer = iota + FIRSTPARTY_BACKUPSERVICECONSUMER + THIRDPARTY_BACKUPSERVICECONSUMER + UNKNOWNFUTUREVALUE_BACKUPSERVICECONSUMER +) + +func (i BackupServiceConsumer) String() string { + return []string{"unknown", "firstparty", "thirdparty", "unknownFutureValue"}[i] +} +func ParseBackupServiceConsumer(v string) (any, error) { + result := UNKNOWN_BACKUPSERVICECONSUMER + switch v { + case "unknown": + result = UNKNOWN_BACKUPSERVICECONSUMER + case "firstparty": + result = FIRSTPARTY_BACKUPSERVICECONSUMER + case "thirdparty": + result = THIRDPARTY_BACKUPSERVICECONSUMER + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_BACKUPSERVICECONSUMER + default: + return nil, nil + } + return &result, nil +} +func SerializeBackupServiceConsumer(values []BackupServiceConsumer) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i BackupServiceConsumer) isMultiValue() bool { + return false +} diff --git a/models/backup_service_status.go b/models/backup_service_status.go new file mode 100644 index 00000000000..af48add4dd8 --- /dev/null +++ b/models/backup_service_status.go @@ -0,0 +1,42 @@ +package models +type BackupServiceStatus int + +const ( + DISABLED_BACKUPSERVICESTATUS BackupServiceStatus = iota + ENABLED_BACKUPSERVICESTATUS + PROTECTIONCHANGELOCKED_BACKUPSERVICESTATUS + RESTORELOCKED_BACKUPSERVICESTATUS + UNKNOWNFUTUREVALUE_BACKUPSERVICESTATUS +) + +func (i BackupServiceStatus) String() string { + return []string{"disabled", "enabled", "protectionChangeLocked", "restoreLocked", "unknownFutureValue"}[i] +} +func ParseBackupServiceStatus(v string) (any, error) { + result := DISABLED_BACKUPSERVICESTATUS + switch v { + case "disabled": + result = DISABLED_BACKUPSERVICESTATUS + case "enabled": + result = ENABLED_BACKUPSERVICESTATUS + case "protectionChangeLocked": + result = PROTECTIONCHANGELOCKED_BACKUPSERVICESTATUS + case "restoreLocked": + result = RESTORELOCKED_BACKUPSERVICESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_BACKUPSERVICESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeBackupServiceStatus(values []BackupServiceStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i BackupServiceStatus) isMultiValue() bool { + return false +} diff --git a/models/call_recording.go b/models/call_recording.go index b84d59df332..689462a2613 100644 --- a/models/call_recording.go +++ b/models/call_recording.go @@ -20,7 +20,7 @@ func NewCallRecording()(*CallRecording) { func CreateCallRecordingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCallRecording(), nil } -// GetCallId gets the callId property value. The callId property +// GetCallId gets the callId property value. The unique identifier for the call that is related to this recording. Read-only. // returns a *string when successful func (m *CallRecording) GetCallId()(*string) { val, err := m.GetBackingStore().Get("callId") @@ -44,7 +44,7 @@ func (m *CallRecording) GetContent()([]byte) { } return nil } -// GetContentCorrelationId gets the contentCorrelationId property value. The contentCorrelationId property +// GetContentCorrelationId gets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only. // returns a *string when successful func (m *CallRecording) GetContentCorrelationId()(*string) { val, err := m.GetBackingStore().Get("contentCorrelationId") @@ -68,7 +68,7 @@ func (m *CallRecording) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a } return nil } -// GetEndDateTime gets the endDateTime property value. The endDateTime property +// GetEndDateTime gets the endDateTime property value. Date and time at which the recording ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *CallRecording) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") @@ -212,7 +212,7 @@ func (m *CallRecording) GetMeetingOrganizerId()(*string) { } return nil } -// GetRecordingContentUrl gets the recordingContentUrl property value. The URL which can be used to access the content of the recording. Read-only. +// GetRecordingContentUrl gets the recordingContentUrl property value. The URL that can be used to access the content of the recording. Read-only. // returns a *string when successful func (m *CallRecording) GetRecordingContentUrl()(*string) { val, err := m.GetBackingStore().Get("recordingContentUrl") @@ -286,7 +286,7 @@ func (m *CallRecording) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetCallId sets the callId property value. The callId property +// SetCallId sets the callId property value. The unique identifier for the call that is related to this recording. Read-only. func (m *CallRecording) SetCallId(value *string)() { err := m.GetBackingStore().Set("callId", value) if err != nil { @@ -300,7 +300,7 @@ func (m *CallRecording) SetContent(value []byte)() { panic(err) } } -// SetContentCorrelationId sets the contentCorrelationId property value. The contentCorrelationId property +// SetContentCorrelationId sets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only. func (m *CallRecording) SetContentCorrelationId(value *string)() { err := m.GetBackingStore().Set("contentCorrelationId", value) if err != nil { @@ -314,7 +314,7 @@ func (m *CallRecording) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad9 panic(err) } } -// SetEndDateTime sets the endDateTime property value. The endDateTime property +// SetEndDateTime sets the endDateTime property value. Date and time at which the recording ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *CallRecording) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { @@ -342,7 +342,7 @@ func (m *CallRecording) SetMeetingOrganizerId(value *string)() { panic(err) } } -// SetRecordingContentUrl sets the recordingContentUrl property value. The URL which can be used to access the content of the recording. Read-only. +// SetRecordingContentUrl sets the recordingContentUrl property value. The URL that can be used to access the content of the recording. Read-only. func (m *CallRecording) SetRecordingContentUrl(value *string)() { err := m.GetBackingStore().Set("recordingContentUrl", value) if err != nil { diff --git a/models/call_transcript.go b/models/call_transcript.go index f1828e3a69d..a68f48510e0 100644 --- a/models/call_transcript.go +++ b/models/call_transcript.go @@ -20,7 +20,7 @@ func NewCallTranscript()(*CallTranscript) { func CreateCallTranscriptFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCallTranscript(), nil } -// GetCallId gets the callId property value. The callId property +// GetCallId gets the callId property value. The unique identifier for the call that is related to this transcript. Read-only. // returns a *string when successful func (m *CallTranscript) GetCallId()(*string) { val, err := m.GetBackingStore().Get("callId") @@ -44,7 +44,7 @@ func (m *CallTranscript) GetContent()([]byte) { } return nil } -// GetContentCorrelationId gets the contentCorrelationId property value. The contentCorrelationId property +// GetContentCorrelationId gets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only. // returns a *string when successful func (m *CallTranscript) GetContentCorrelationId()(*string) { val, err := m.GetBackingStore().Get("contentCorrelationId") @@ -56,7 +56,7 @@ func (m *CallTranscript) GetContentCorrelationId()(*string) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. Date and time at which the transcript was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// GetCreatedDateTime gets the createdDateTime property value. Date and time at which the transcript was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *CallTranscript) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -68,7 +68,7 @@ func (m *CallTranscript) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6 } return nil } -// GetEndDateTime gets the endDateTime property value. The endDateTime property +// GetEndDateTime gets the endDateTime property value. Date and time at which the transcription ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *CallTranscript) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") @@ -234,7 +234,7 @@ func (m *CallTranscript) GetMetadataContent()([]byte) { } return nil } -// GetTranscriptContentUrl gets the transcriptContentUrl property value. The URL which can be used to access the content of the transcript. Read-only. +// GetTranscriptContentUrl gets the transcriptContentUrl property value. The URL that can be used to access the content of the transcript. Read-only. // returns a *string when successful func (m *CallTranscript) GetTranscriptContentUrl()(*string) { val, err := m.GetBackingStore().Get("transcriptContentUrl") @@ -314,7 +314,7 @@ func (m *CallTranscript) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetCallId sets the callId property value. The callId property +// SetCallId sets the callId property value. The unique identifier for the call that is related to this transcript. Read-only. func (m *CallTranscript) SetCallId(value *string)() { err := m.GetBackingStore().Set("callId", value) if err != nil { @@ -328,21 +328,21 @@ func (m *CallTranscript) SetContent(value []byte)() { panic(err) } } -// SetContentCorrelationId sets the contentCorrelationId property value. The contentCorrelationId property +// SetContentCorrelationId sets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only. func (m *CallTranscript) SetContentCorrelationId(value *string)() { err := m.GetBackingStore().Set("contentCorrelationId", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. Date and time at which the transcript was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// SetCreatedDateTime sets the createdDateTime property value. Date and time at which the transcript was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *CallTranscript) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetEndDateTime sets the endDateTime property value. The endDateTime property +// SetEndDateTime sets the endDateTime property value. Date and time at which the transcription ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *CallTranscript) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { @@ -377,7 +377,7 @@ func (m *CallTranscript) SetMetadataContent(value []byte)() { panic(err) } } -// SetTranscriptContentUrl sets the transcriptContentUrl property value. The URL which can be used to access the content of the transcript. Read-only. +// SetTranscriptContentUrl sets the transcriptContentUrl property value. The URL that can be used to access the content of the transcript. Read-only. func (m *CallTranscript) SetTranscriptContentUrl(value *string)() { err := m.GetBackingStore().Set("transcriptContentUrl", value) if err != nil { diff --git a/models/chat.go b/models/chat.go index 36b279a5de8..542485d8699 100644 --- a/models/chat.go +++ b/models/chat.go @@ -32,6 +32,18 @@ func (m *Chat) GetChatType()(*ChatType) { } return nil } +// GetCreatedBy gets the createdBy property value. The user or application that created the chat. Read-only. +// returns a IdentitySetable when successful +func (m *Chat) GetCreatedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} // GetCreatedDateTime gets the createdDateTime property value. Date and time at which the chat was created. Read-only. // returns a *Time when successful func (m *Chat) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -58,6 +70,16 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val.(IdentitySetable)) + } + return nil + } res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -286,7 +308,7 @@ func (m *Chat) GetIsHiddenForAllMembers()(*bool) { } return nil } -// GetLastMessagePreview gets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// GetLastMessagePreview gets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. // returns a ChatMessageInfoable when successful func (m *Chat) GetLastMessagePreview()(ChatMessageInfoable) { val, err := m.GetBackingStore().Get("lastMessagePreview") @@ -455,6 +477,12 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) if err != nil { @@ -602,6 +630,13 @@ func (m *Chat) SetChatType(value *ChatType)() { panic(err) } } +// SetCreatedBy sets the createdBy property value. The user or application that created the chat. Read-only. +func (m *Chat) SetCreatedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} // SetCreatedDateTime sets the createdDateTime property value. Date and time at which the chat was created. Read-only. func (m *Chat) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) @@ -623,7 +658,7 @@ func (m *Chat) SetIsHiddenForAllMembers(value *bool)() { panic(err) } } -// SetLastMessagePreview sets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// SetLastMessagePreview sets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. func (m *Chat) SetLastMessagePreview(value ChatMessageInfoable)() { err := m.GetBackingStore().Set("lastMessagePreview", value) if err != nil { @@ -718,6 +753,7 @@ type Chatable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetChatType()(*ChatType) + GetCreatedBy()(IdentitySetable) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetInstalledApps()([]TeamsAppInstallationable) GetIsHiddenForAllMembers()(*bool) @@ -735,6 +771,7 @@ type Chatable interface { GetViewpoint()(ChatViewpointable) GetWebUrl()(*string) SetChatType(value *ChatType)() + SetCreatedBy(value IdentitySetable)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetInstalledApps(value []TeamsAppInstallationable)() SetIsHiddenForAllMembers(value *bool)() diff --git a/models/contact.go b/models/contact.go index ab7f0c4cba6..08808d4e480 100644 --- a/models/contact.go +++ b/models/contact.go @@ -584,7 +584,7 @@ func (m *Contact) GetGender()(*string) { } return nil } -// GetGeneration gets the generation property value. The contact's generation. +// GetGeneration gets the generation property value. The contact's suffix. // returns a *string when successful func (m *Contact) GetGeneration()(*string) { val, err := m.GetBackingStore().Get("generation") @@ -1245,7 +1245,7 @@ func (m *Contact) SetGender(value *string)() { panic(err) } } -// SetGeneration sets the generation property value. The contact's generation. +// SetGeneration sets the generation property value. The contact's suffix. func (m *Contact) SetGeneration(value *string)() { err := m.GetBackingStore().Set("generation", value) if err != nil { diff --git a/models/custom_claim_transformation.go b/models/custom_claim_transformation.go index e576f1ed067..e41aa95e84e 100644 --- a/models/custom_claim_transformation.go +++ b/models/custom_claim_transformation.go @@ -112,7 +112,7 @@ func (m *CustomClaimTransformation) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetInput gets the input property value. The input property +// GetInput gets the input property value. The input attribute that provides the source for the transformation. This parameter is required if it's the first or only transformation in the list of transformations to be applied. Subsequent transformations use the output of the prior transformation as input. // returns a TransformationAttributeable when successful func (m *CustomClaimTransformation) GetInput()(TransformationAttributeable) { val, err := m.GetBackingStore().Get("input") @@ -169,7 +169,7 @@ func (m *CustomClaimTransformation) SetAdditionalData(value map[string]any)() { func (m *CustomClaimTransformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetInput sets the input property value. The input property +// SetInput sets the input property value. The input attribute that provides the source for the transformation. This parameter is required if it's the first or only transformation in the list of transformations to be applied. Subsequent transformations use the output of the prior transformation as input. func (m *CustomClaimTransformation) SetInput(value TransformationAttributeable)() { err := m.GetBackingStore().Set("input", value) if err != nil { diff --git a/models/destination_type.go b/models/destination_type.go new file mode 100644 index 00000000000..61e384d9e1e --- /dev/null +++ b/models/destination_type.go @@ -0,0 +1,36 @@ +package models +type DestinationType int + +const ( + NEW_DESTINATIONTYPE DestinationType = iota + INPLACE_DESTINATIONTYPE + UNKNOWNFUTUREVALUE_DESTINATIONTYPE +) + +func (i DestinationType) String() string { + return []string{"new", "inPlace", "unknownFutureValue"}[i] +} +func ParseDestinationType(v string) (any, error) { + result := NEW_DESTINATIONTYPE + switch v { + case "new": + result = NEW_DESTINATIONTYPE + case "inPlace": + result = INPLACE_DESTINATIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DESTINATIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeDestinationType(values []DestinationType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DestinationType) isMultiValue() bool { + return false +} diff --git a/models/device_configuration_device_status.go b/models/device_configuration_device_status.go index 806cd87af81..f83d2342e1b 100644 --- a/models/device_configuration_device_status.go +++ b/models/device_configuration_device_status.go @@ -5,6 +5,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// DeviceConfigurationDeviceStatus support for this Entity is being deprecated starting May 2026 & will no longer be supported. type DeviceConfigurationDeviceStatus struct { Entity } diff --git a/models/device_configuration_state.go b/models/device_configuration_state.go index 3bbfc2bf83a..49ee7decba4 100644 --- a/models/device_configuration_state.go +++ b/models/device_configuration_state.go @@ -4,7 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -// DeviceConfigurationState device Configuration State for a given device. +// DeviceConfigurationState support for this Entity is being deprecated starting May 2026 & will no longer be supported. type DeviceConfigurationState struct { Entity } diff --git a/models/device_management.go b/models/device_management.go index 7fc9d047889..d3e73220526 100644 --- a/models/device_management.go +++ b/models/device_management.go @@ -742,6 +742,18 @@ func (m *DeviceManagement) GetEmbeddedSIMActivationCodePools()([]EmbeddedSIMActi } return nil } +// GetEndpointPrivilegeManagementProvisioningStatus gets the endpointPrivilegeManagementProvisioningStatus property value. Endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +// returns a EndpointPrivilegeManagementProvisioningStatusable when successful +func (m *DeviceManagement) GetEndpointPrivilegeManagementProvisioningStatus()(EndpointPrivilegeManagementProvisioningStatusable) { + val, err := m.GetBackingStore().Get("endpointPrivilegeManagementProvisioningStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(EndpointPrivilegeManagementProvisioningStatusable) + } + return nil +} // GetExchangeConnectors gets the exchangeConnectors property value. The list of Exchange Connectors configured by the tenant. // returns a []DeviceManagementExchangeConnectorable when successful func (m *DeviceManagement) GetExchangeConnectors()([]DeviceManagementExchangeConnectorable) { @@ -1664,6 +1676,16 @@ func (m *DeviceManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["endpointPrivilegeManagementProvisioningStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEndpointPrivilegeManagementProvisioningStatusFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEndpointPrivilegeManagementProvisioningStatus(val.(EndpointPrivilegeManagementProvisioningStatusable)) + } + return nil + } res["exchangeConnectors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDeviceManagementExchangeConnectorFromDiscriminatorValue) if err != nil { @@ -1834,6 +1856,22 @@ func (m *DeviceManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["hardwarePasswordDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwarePasswordDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwarePasswordDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwarePasswordDetailable) + } + } + m.SetHardwarePasswordDetails(res) + } + return nil + } res["hardwarePasswordInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateHardwarePasswordInfoFromDiscriminatorValue) if err != nil { @@ -3438,6 +3476,22 @@ func (m *DeviceManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["windowsQualityUpdatePolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsQualityUpdatePolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsQualityUpdatePolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsQualityUpdatePolicyable) + } + } + m.SetWindowsQualityUpdatePolicies(res) + } + return nil + } res["windowsQualityUpdateProfiles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateWindowsQualityUpdateProfileFromDiscriminatorValue) if err != nil { @@ -3610,6 +3664,18 @@ func (m *DeviceManagement) GetHardwareConfigurations()([]HardwareConfigurationab } return nil } +// GetHardwarePasswordDetails gets the hardwarePasswordDetails property value. Device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +// returns a []HardwarePasswordDetailable when successful +func (m *DeviceManagement) GetHardwarePasswordDetails()([]HardwarePasswordDetailable) { + val, err := m.GetBackingStore().Get("hardwarePasswordDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwarePasswordDetailable) + } + return nil +} // GetHardwarePasswordInfo gets the hardwarePasswordInfo property value. The hardware password info for this account. // returns a []HardwarePasswordInfoable when successful func (m *DeviceManagement) GetHardwarePasswordInfo()([]HardwarePasswordInfoable) { @@ -4930,6 +4996,18 @@ func (m *DeviceManagement) GetWindowsMalwareOverview()(WindowsMalwareOverviewabl } return nil } +// GetWindowsQualityUpdatePolicies gets the windowsQualityUpdatePolicies property value. A collection of Windows quality update policies +// returns a []WindowsQualityUpdatePolicyable when successful +func (m *DeviceManagement) GetWindowsQualityUpdatePolicies()([]WindowsQualityUpdatePolicyable) { + val, err := m.GetBackingStore().Get("windowsQualityUpdatePolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsQualityUpdatePolicyable) + } + return nil +} // GetWindowsQualityUpdateProfiles gets the windowsQualityUpdateProfiles property value. A collection of windows quality update profiles // returns a []WindowsQualityUpdateProfileable when successful func (m *DeviceManagement) GetWindowsQualityUpdateProfiles()([]WindowsQualityUpdateProfileable) { @@ -5632,6 +5710,12 @@ func (m *DeviceManagement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + { + err = writer.WriteObjectValue("endpointPrivilegeManagementProvisioningStatus", m.GetEndpointPrivilegeManagementProvisioningStatus()) + if err != nil { + return err + } + } if m.GetExchangeConnectors() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExchangeConnectors())) for i, v := range m.GetExchangeConnectors() { @@ -5758,6 +5842,18 @@ func (m *DeviceManagement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + if m.GetHardwarePasswordDetails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHardwarePasswordDetails())) + for i, v := range m.GetHardwarePasswordDetails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("hardwarePasswordDetails", cast) + if err != nil { + return err + } + } if m.GetHardwarePasswordInfo() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHardwarePasswordInfo())) for i, v := range m.GetHardwarePasswordInfo() { @@ -6906,6 +7002,18 @@ func (m *DeviceManagement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + if m.GetWindowsQualityUpdatePolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWindowsQualityUpdatePolicies())) + for i, v := range m.GetWindowsQualityUpdatePolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("windowsQualityUpdatePolicies", cast) + if err != nil { + return err + } + } if m.GetWindowsQualityUpdateProfiles() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWindowsQualityUpdateProfiles())) for i, v := range m.GetWindowsQualityUpdateProfiles() { @@ -7382,6 +7490,13 @@ func (m *DeviceManagement) SetEmbeddedSIMActivationCodePools(value []EmbeddedSIM panic(err) } } +// SetEndpointPrivilegeManagementProvisioningStatus sets the endpointPrivilegeManagementProvisioningStatus property value. Endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +func (m *DeviceManagement) SetEndpointPrivilegeManagementProvisioningStatus(value EndpointPrivilegeManagementProvisioningStatusable)() { + err := m.GetBackingStore().Set("endpointPrivilegeManagementProvisioningStatus", value) + if err != nil { + panic(err) + } +} // SetExchangeConnectors sets the exchangeConnectors property value. The list of Exchange Connectors configured by the tenant. func (m *DeviceManagement) SetExchangeConnectors(value []DeviceManagementExchangeConnectorable)() { err := m.GetBackingStore().Set("exchangeConnectors", value) @@ -7459,6 +7574,13 @@ func (m *DeviceManagement) SetHardwareConfigurations(value []HardwareConfigurati panic(err) } } +// SetHardwarePasswordDetails sets the hardwarePasswordDetails property value. Device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +func (m *DeviceManagement) SetHardwarePasswordDetails(value []HardwarePasswordDetailable)() { + err := m.GetBackingStore().Set("hardwarePasswordDetails", value) + if err != nil { + panic(err) + } +} // SetHardwarePasswordInfo sets the hardwarePasswordInfo property value. The hardware password info for this account. func (m *DeviceManagement) SetHardwarePasswordInfo(value []HardwarePasswordInfoable)() { err := m.GetBackingStore().Set("hardwarePasswordInfo", value) @@ -8229,6 +8351,13 @@ func (m *DeviceManagement) SetWindowsMalwareOverview(value WindowsMalwareOvervie panic(err) } } +// SetWindowsQualityUpdatePolicies sets the windowsQualityUpdatePolicies property value. A collection of Windows quality update policies +func (m *DeviceManagement) SetWindowsQualityUpdatePolicies(value []WindowsQualityUpdatePolicyable)() { + err := m.GetBackingStore().Set("windowsQualityUpdatePolicies", value) + if err != nil { + panic(err) + } +} // SetWindowsQualityUpdateProfiles sets the windowsQualityUpdateProfiles property value. A collection of windows quality update profiles func (m *DeviceManagement) SetWindowsQualityUpdateProfiles(value []WindowsQualityUpdateProfileable)() { err := m.GetBackingStore().Set("windowsQualityUpdateProfiles", value) @@ -8327,6 +8456,7 @@ type DeviceManagementable interface { GetDomainJoinConnectors()([]DeviceManagementDomainJoinConnectorable) GetElevationRequests()([]PrivilegeManagementElevationRequestable) GetEmbeddedSIMActivationCodePools()([]EmbeddedSIMActivationCodePoolable) + GetEndpointPrivilegeManagementProvisioningStatus()(EndpointPrivilegeManagementProvisioningStatusable) GetExchangeConnectors()([]DeviceManagementExchangeConnectorable) GetExchangeOnPremisesPolicies()([]DeviceManagementExchangeOnPremisesPolicyable) GetExchangeOnPremisesPolicy()(DeviceManagementExchangeOnPremisesPolicyable) @@ -8338,6 +8468,7 @@ type DeviceManagementable interface { GetGroupPolicyObjectFiles()([]GroupPolicyObjectFileable) GetGroupPolicyUploadedDefinitionFiles()([]GroupPolicyUploadedDefinitionFileable) GetHardwareConfigurations()([]HardwareConfigurationable) + GetHardwarePasswordDetails()([]HardwarePasswordDetailable) GetHardwarePasswordInfo()([]HardwarePasswordInfoable) GetImportedDeviceIdentities()([]ImportedDeviceIdentityable) GetImportedWindowsAutopilotDeviceIdentities()([]ImportedWindowsAutopilotDeviceIdentityable) @@ -8448,6 +8579,7 @@ type DeviceManagementable interface { GetWindowsInformationProtectionNetworkLearningSummaries()([]WindowsInformationProtectionNetworkLearningSummaryable) GetWindowsMalwareInformation()([]WindowsMalwareInformationable) GetWindowsMalwareOverview()(WindowsMalwareOverviewable) + GetWindowsQualityUpdatePolicies()([]WindowsQualityUpdatePolicyable) GetWindowsQualityUpdateProfiles()([]WindowsQualityUpdateProfileable) GetWindowsUpdateCatalogItems()([]WindowsUpdateCatalogItemable) GetZebraFotaArtifacts()([]ZebraFotaArtifactable) @@ -8513,6 +8645,7 @@ type DeviceManagementable interface { SetDomainJoinConnectors(value []DeviceManagementDomainJoinConnectorable)() SetElevationRequests(value []PrivilegeManagementElevationRequestable)() SetEmbeddedSIMActivationCodePools(value []EmbeddedSIMActivationCodePoolable)() + SetEndpointPrivilegeManagementProvisioningStatus(value EndpointPrivilegeManagementProvisioningStatusable)() SetExchangeConnectors(value []DeviceManagementExchangeConnectorable)() SetExchangeOnPremisesPolicies(value []DeviceManagementExchangeOnPremisesPolicyable)() SetExchangeOnPremisesPolicy(value DeviceManagementExchangeOnPremisesPolicyable)() @@ -8524,6 +8657,7 @@ type DeviceManagementable interface { SetGroupPolicyObjectFiles(value []GroupPolicyObjectFileable)() SetGroupPolicyUploadedDefinitionFiles(value []GroupPolicyUploadedDefinitionFileable)() SetHardwareConfigurations(value []HardwareConfigurationable)() + SetHardwarePasswordDetails(value []HardwarePasswordDetailable)() SetHardwarePasswordInfo(value []HardwarePasswordInfoable)() SetImportedDeviceIdentities(value []ImportedDeviceIdentityable)() SetImportedWindowsAutopilotDeviceIdentities(value []ImportedWindowsAutopilotDeviceIdentityable)() @@ -8634,6 +8768,7 @@ type DeviceManagementable interface { SetWindowsInformationProtectionNetworkLearningSummaries(value []WindowsInformationProtectionNetworkLearningSummaryable)() SetWindowsMalwareInformation(value []WindowsMalwareInformationable)() SetWindowsMalwareOverview(value WindowsMalwareOverviewable)() + SetWindowsQualityUpdatePolicies(value []WindowsQualityUpdatePolicyable)() SetWindowsQualityUpdateProfiles(value []WindowsQualityUpdateProfileable)() SetWindowsUpdateCatalogItems(value []WindowsUpdateCatalogItemable)() SetZebraFotaArtifacts(value []ZebraFotaArtifactable)() diff --git a/models/device_management_configuration_choice_setting_collection_definition.go b/models/device_management_configuration_choice_setting_collection_definition.go index e682badd91f..849a9e8f6b8 100644 --- a/models/device_management_configuration_choice_setting_collection_definition.go +++ b/models/device_management_configuration_choice_setting_collection_definition.go @@ -45,7 +45,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetFiel } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 +// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") @@ -57,7 +57,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaxi } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 +// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") @@ -89,14 +89,14 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) Seriali } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 +// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 +// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_choice_setting_definition.go b/models/device_management_configuration_choice_setting_definition.go index 2eeebaa89d4..4c89328c405 100644 --- a/models/device_management_configuration_choice_setting_definition.go +++ b/models/device_management_configuration_choice_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationChoiceSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationChoiceSettingDefinition(), nil } -// GetDefaultOptionId gets the defaultOptionId property value. Default option for the choice setting. +// GetDefaultOptionId gets the defaultOptionId property value. Default option for choice setting // returns a *string when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetDefaultOptionId()(*string) { val, err := m.GetBackingStore().Get("defaultOptionId") @@ -81,7 +81,7 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetFieldDeseriali } return res } -// GetOptions gets the options property value. Options for the setting that can be selected. +// GetOptions gets the options property value. Options for the setting that can be selected // returns a []DeviceManagementConfigurationOptionDefinitionable when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetOptions()([]DeviceManagementConfigurationOptionDefinitionable) { val, err := m.GetBackingStore().Get("options") @@ -119,14 +119,14 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) Serialize(writer } return nil } -// SetDefaultOptionId sets the defaultOptionId property value. Default option for the choice setting. +// SetDefaultOptionId sets the defaultOptionId property value. Default option for choice setting func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetDefaultOptionId(value *string)() { err := m.GetBackingStore().Set("defaultOptionId", value) if err != nil { panic(err) } } -// SetOptions sets the options property value. Options for the setting that can be selected. +// SetOptions sets the options property value. Options for the setting that can be selected func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetOptions(value []DeviceManagementConfigurationOptionDefinitionable)() { err := m.GetBackingStore().Set("options", value) if err != nil { diff --git a/models/device_management_configuration_referred_setting_information.go b/models/device_management_configuration_referred_setting_information.go index 16fe9c74a9a..8f0d294486c 100644 --- a/models/device_management_configuration_referred_setting_information.go +++ b/models/device_management_configuration_referred_setting_information.go @@ -79,7 +79,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) GetOdataType() } return nil } -// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. // returns a *string when successful func (m *DeviceManagementConfigurationReferredSettingInformation) GetSettingDefinitionId()(*string) { val, err := m.GetBackingStore().Get("settingDefinitionId") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) SetOdataType(v panic(err) } } -// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. func (m *DeviceManagementConfigurationReferredSettingInformation) SetSettingDefinitionId(value *string)() { err := m.GetBackingStore().Set("settingDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_collection_definition.go b/models/device_management_configuration_setting_group_collection_definition.go index 5d493903800..72e7bfbc56a 100644 --- a/models/device_management_configuration_setting_group_collection_definition.go +++ b/models/device_management_configuration_setting_group_collection_definition.go @@ -45,7 +45,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetField } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") @@ -57,7 +57,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaxim } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") @@ -89,14 +89,14 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) Serializ } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_definition.go b/models/device_management_configuration_setting_group_definition.go index 7e000516f27..fa23ec1955c 100644 --- a/models/device_management_configuration_setting_group_definition.go +++ b/models/device_management_configuration_setting_group_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSettingGroupDefinitionFromDiscriminatorV } return NewDeviceManagementConfigurationSettingGroupDefinition(), nil } -// GetChildIds gets the childIds property value. Dependent child settings to this group of settings +// GetChildIds gets the childIds property value. Dependent child settings to this group of settings. // returns a []string when successful func (m *DeviceManagementConfigurationSettingGroupDefinition) GetChildIds()([]string) { val, err := m.GetBackingStore().Get("childIds") @@ -165,7 +165,7 @@ func (m *DeviceManagementConfigurationSettingGroupDefinition) Serialize(writer i } return nil } -// SetChildIds sets the childIds property value. Dependent child settings to this group of settings +// SetChildIds sets the childIds property value. Dependent child settings to this group of settings. func (m *DeviceManagementConfigurationSettingGroupDefinition) SetChildIds(value []string)() { err := m.GetBackingStore().Set("childIds", value) if err != nil { diff --git a/models/device_management_configuration_string_setting_value_definition.go b/models/device_management_configuration_string_setting_value_definition.go index d37e1eda1b2..9a3156b662d 100644 --- a/models/device_management_configuration_string_setting_value_definition.go +++ b/models/device_management_configuration_string_setting_value_definition.go @@ -106,7 +106,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFileTypes } return nil } -// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. +// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. // returns a *DeviceManagementConfigurationStringFormat when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFormat()(*DeviceManagementConfigurationStringFormat) { val, err := m.GetBackingStore().Get("format") @@ -142,7 +142,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetIsSecret( } return nil } -// GetMaximumLength gets the maximumLength property value. Maximum length of string +// GetMaximumLength gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLength()(*int64) { val, err := m.GetBackingStore().Get("maximumLength") @@ -154,7 +154,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLe } return nil } -// GetMinimumLength gets the minimumLength property value. Minimum length of string +// GetMinimumLength gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMinimumLength()(*int64) { val, err := m.GetBackingStore().Get("minimumLength") @@ -218,7 +218,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFileTypes panic(err) } } -// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. +// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFormat(value *DeviceManagementConfigurationStringFormat)() { err := m.GetBackingStore().Set("format", value) if err != nil { @@ -239,14 +239,14 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetIsSecret( panic(err) } } -// SetMaximumLength sets the maximumLength property value. Maximum length of string +// SetMaximumLength sets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMaximumLength(value *int64)() { err := m.GetBackingStore().Set("maximumLength", value) if err != nil { panic(err) } } -// SetMinimumLength sets the minimumLength property value. Minimum length of string +// SetMinimumLength sets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMinimumLength(value *int64)() { err := m.GetBackingStore().Set("minimumLength", value) if err != nil { diff --git a/models/directory_object.go b/models/directory_object.go index b8ef0e7fc86..e0241663c5e 100644 --- a/models/directory_object.go +++ b/models/directory_object.go @@ -86,6 +86,8 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewPendingExternalUserProfile(), nil case "#microsoft.graph.permissionGrantPolicy": return NewPermissionGrantPolicy(), nil + case "#microsoft.graph.permissionGrantPreApprovalPolicy": + return NewPermissionGrantPreApprovalPolicy(), nil case "#microsoft.graph.policyBase": return NewPolicyBase(), nil case "#microsoft.graph.resourceSpecificPermissionGrant": diff --git a/models/disable_reason.go b/models/disable_reason.go new file mode 100644 index 00000000000..dc30fded809 --- /dev/null +++ b/models/disable_reason.go @@ -0,0 +1,39 @@ +package models +type DisableReason int + +const ( + NONE_DISABLEREASON DisableReason = iota + INVALIDBILLINGPROFILE_DISABLEREASON + USERREQUESTED_DISABLEREASON + UNKNOWNFUTUREVALUE_DISABLEREASON +) + +func (i DisableReason) String() string { + return []string{"none", "invalidBillingProfile", "userRequested", "unknownFutureValue"}[i] +} +func ParseDisableReason(v string) (any, error) { + result := NONE_DISABLEREASON + switch v { + case "none": + result = NONE_DISABLEREASON + case "invalidBillingProfile": + result = INVALIDBILLINGPROFILE_DISABLEREASON + case "userRequested": + result = USERREQUESTED_DISABLEREASON + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DISABLEREASON + default: + return nil, nil + } + return &result, nil +} +func SerializeDisableReason(values []DisableReason) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DisableReason) isMultiValue() bool { + return false +} diff --git a/models/domain.go b/models/domain.go index eee44a54395..f0b1920f55c 100644 --- a/models/domain.go +++ b/models/domain.go @@ -193,6 +193,16 @@ func (m *Domain) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["rootDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDomainFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRootDomain(val.(Domainable)) + } + return nil + } res["serviceConfigurationRecords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDomainDnsRecordFromDiscriminatorValue) if err != nil { @@ -269,7 +279,7 @@ func (m *Domain) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return res } -// GetIsAdminManaged gets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable +// GetIsAdminManaged gets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable. // returns a *bool when successful func (m *Domain) GetIsAdminManaged()(*bool) { val, err := m.GetBackingStore().Get("isAdminManaged") @@ -281,7 +291,7 @@ func (m *Domain) GetIsAdminManaged()(*bool) { } return nil } -// GetIsDefault gets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable +// GetIsDefault gets the isDefault property value. true for the default domain that is used for user creation. There's only one default domain per company. Not nullable. // returns a *bool when successful func (m *Domain) GetIsDefault()(*bool) { val, err := m.GetBackingStore().Get("isDefault") @@ -293,7 +303,7 @@ func (m *Domain) GetIsDefault()(*bool) { } return nil } -// GetIsInitial gets the isInitial property value. true if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable +// GetIsInitial gets the isInitial property value. true for the initial domain created by Microsoft Online Services. For example, contoso.onmicrosoft.com. There's only one initial domain per company. Not nullable. // returns a *bool when successful func (m *Domain) GetIsInitial()(*bool) { val, err := m.GetBackingStore().Get("isInitial") @@ -305,7 +315,7 @@ func (m *Domain) GetIsInitial()(*bool) { } return nil } -// GetIsRoot gets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable +// GetIsRoot gets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable. // returns a *bool when successful func (m *Domain) GetIsRoot()(*bool) { val, err := m.GetBackingStore().Get("isRoot") @@ -317,7 +327,7 @@ func (m *Domain) GetIsRoot()(*bool) { } return nil } -// GetIsVerified gets the isVerified property value. true if the domain has completed domain ownership verification. Not nullable +// GetIsVerified gets the isVerified property value. true for verified domains. Not nullable. // returns a *bool when successful func (m *Domain) GetIsVerified()(*bool) { val, err := m.GetBackingStore().Get("isVerified") @@ -329,7 +339,7 @@ func (m *Domain) GetIsVerified()(*bool) { } return nil } -// GetPasswordNotificationWindowInDays gets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password will expire. If the property isn't set, a default value of 14 days is used. +// GetPasswordNotificationWindowInDays gets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives a password expiry notification. 14 days by default. // returns a *int32 when successful func (m *Domain) GetPasswordNotificationWindowInDays()(*int32) { val, err := m.GetBackingStore().Get("passwordNotificationWindowInDays") @@ -341,7 +351,7 @@ func (m *Domain) GetPasswordNotificationWindowInDays()(*int32) { } return nil } -// GetPasswordValidityPeriodInDays gets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used. +// GetPasswordValidityPeriodInDays gets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. 90 days by default. // returns a *int32 when successful func (m *Domain) GetPasswordValidityPeriodInDays()(*int32) { val, err := m.GetBackingStore().Get("passwordValidityPeriodInDays") @@ -353,6 +363,18 @@ func (m *Domain) GetPasswordValidityPeriodInDays()(*int32) { } return nil } +// GetRootDomain gets the rootDomain property value. Root domain of a subdomain. Read-only, Nullable. Supports $expand. +// returns a Domainable when successful +func (m *Domain) GetRootDomain()(Domainable) { + val, err := m.GetBackingStore().Get("rootDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(Domainable) + } + return nil +} // GetServiceConfigurationRecords gets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. // returns a []DomainDnsRecordable when successful func (m *Domain) GetServiceConfigurationRecords()([]DomainDnsRecordable) { @@ -389,7 +411,7 @@ func (m *Domain) GetState()(DomainStateable) { } return nil } -// GetSupportedServices gets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. +// GetSupportedServices gets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1, or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune, CustomUrlDomain. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer, and CustomUrlDomain. Not nullable. For more information about CustomUrlDomain, see Custom URL domains in external tenants. // returns a []string when successful func (m *Domain) GetSupportedServices()([]string) { val, err := m.GetBackingStore().Get("supportedServices") @@ -497,6 +519,12 @@ func (m *Domain) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + { + err = writer.WriteObjectValue("rootDomain", m.GetRootDomain()) + if err != nil { + return err + } + } if m.GetServiceConfigurationRecords() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetServiceConfigurationRecords())) for i, v := range m.GetServiceConfigurationRecords() { @@ -575,55 +603,62 @@ func (m *Domain) SetFederationConfiguration(value []InternalDomainFederationable panic(err) } } -// SetIsAdminManaged sets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable +// SetIsAdminManaged sets the isAdminManaged property value. The value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable. func (m *Domain) SetIsAdminManaged(value *bool)() { err := m.GetBackingStore().Set("isAdminManaged", value) if err != nil { panic(err) } } -// SetIsDefault sets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable +// SetIsDefault sets the isDefault property value. true for the default domain that is used for user creation. There's only one default domain per company. Not nullable. func (m *Domain) SetIsDefault(value *bool)() { err := m.GetBackingStore().Set("isDefault", value) if err != nil { panic(err) } } -// SetIsInitial sets the isInitial property value. true if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable +// SetIsInitial sets the isInitial property value. true for the initial domain created by Microsoft Online Services. For example, contoso.onmicrosoft.com. There's only one initial domain per company. Not nullable. func (m *Domain) SetIsInitial(value *bool)() { err := m.GetBackingStore().Set("isInitial", value) if err != nil { panic(err) } } -// SetIsRoot sets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable +// SetIsRoot sets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable. func (m *Domain) SetIsRoot(value *bool)() { err := m.GetBackingStore().Set("isRoot", value) if err != nil { panic(err) } } -// SetIsVerified sets the isVerified property value. true if the domain has completed domain ownership verification. Not nullable +// SetIsVerified sets the isVerified property value. true for verified domains. Not nullable. func (m *Domain) SetIsVerified(value *bool)() { err := m.GetBackingStore().Set("isVerified", value) if err != nil { panic(err) } } -// SetPasswordNotificationWindowInDays sets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password will expire. If the property isn't set, a default value of 14 days is used. +// SetPasswordNotificationWindowInDays sets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives a password expiry notification. 14 days by default. func (m *Domain) SetPasswordNotificationWindowInDays(value *int32)() { err := m.GetBackingStore().Set("passwordNotificationWindowInDays", value) if err != nil { panic(err) } } -// SetPasswordValidityPeriodInDays sets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used. +// SetPasswordValidityPeriodInDays sets the passwordValidityPeriodInDays property value. Specifies the length of time that a password is valid before it must be changed. 90 days by default. func (m *Domain) SetPasswordValidityPeriodInDays(value *int32)() { err := m.GetBackingStore().Set("passwordValidityPeriodInDays", value) if err != nil { panic(err) } } +// SetRootDomain sets the rootDomain property value. Root domain of a subdomain. Read-only, Nullable. Supports $expand. +func (m *Domain) SetRootDomain(value Domainable)() { + err := m.GetBackingStore().Set("rootDomain", value) + if err != nil { + panic(err) + } +} // SetServiceConfigurationRecords sets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. func (m *Domain) SetServiceConfigurationRecords(value []DomainDnsRecordable)() { err := m.GetBackingStore().Set("serviceConfigurationRecords", value) @@ -645,7 +680,7 @@ func (m *Domain) SetState(value DomainStateable)() { panic(err) } } -// SetSupportedServices sets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. +// SetSupportedServices sets the supportedServices property value. The capabilities assigned to the domain. Can include 0, 1, or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune, CustomUrlDomain. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer, and CustomUrlDomain. Not nullable. For more information about CustomUrlDomain, see Custom URL domains in external tenants. func (m *Domain) SetSupportedServices(value []string)() { err := m.GetBackingStore().Set("supportedServices", value) if err != nil { @@ -673,6 +708,7 @@ type Domainable interface { GetIsVerified()(*bool) GetPasswordNotificationWindowInDays()(*int32) GetPasswordValidityPeriodInDays()(*int32) + GetRootDomain()(Domainable) GetServiceConfigurationRecords()([]DomainDnsRecordable) GetSharedEmailDomainInvitations()([]SharedEmailDomainInvitationable) GetState()(DomainStateable) @@ -689,6 +725,7 @@ type Domainable interface { SetIsVerified(value *bool)() SetPasswordNotificationWindowInDays(value *int32)() SetPasswordValidityPeriodInDays(value *int32)() + SetRootDomain(value Domainable)() SetServiceConfigurationRecords(value []DomainDnsRecordable)() SetSharedEmailDomainInvitations(value []SharedEmailDomainInvitationable)() SetState(value DomainStateable)() diff --git a/models/drive_protection_rule.go b/models/drive_protection_rule.go new file mode 100644 index 00000000000..758a70a74dd --- /dev/null +++ b/models/drive_protection_rule.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveProtectionRule struct { + ProtectionRuleBase +} +// NewDriveProtectionRule instantiates a new DriveProtectionRule and sets the default values. +func NewDriveProtectionRule()(*DriveProtectionRule) { + m := &DriveProtectionRule{ + ProtectionRuleBase: *NewProtectionRuleBase(), + } + odataTypeValue := "#microsoft.graph.driveProtectionRule" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDriveProtectionRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveProtectionRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveProtectionRule(), nil +} +// GetDriveExpression gets the driveExpression property value. Contains a drive expression. For examples, see driveExpression examples. +// returns a *string when successful +func (m *DriveProtectionRule) GetDriveExpression()(*string) { + val, err := m.GetBackingStore().Get("driveExpression") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveProtectionRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionRuleBase.GetFieldDeserializers() + res["driveExpression"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDriveExpression(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *DriveProtectionRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionRuleBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("driveExpression", m.GetDriveExpression()) + if err != nil { + return err + } + } + return nil +} +// SetDriveExpression sets the driveExpression property value. Contains a drive expression. For examples, see driveExpression examples. +func (m *DriveProtectionRule) SetDriveExpression(value *string)() { + err := m.GetBackingStore().Set("driveExpression", value) + if err != nil { + panic(err) + } +} +type DriveProtectionRuleable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionRuleBaseable + GetDriveExpression()(*string) + SetDriveExpression(value *string)() +} diff --git a/models/drive_protection_rule_collection_response.go b/models/drive_protection_rule_collection_response.go new file mode 100644 index 00000000000..1e43dac48dc --- /dev/null +++ b/models/drive_protection_rule_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveProtectionRuleCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDriveProtectionRuleCollectionResponse instantiates a new DriveProtectionRuleCollectionResponse and sets the default values. +func NewDriveProtectionRuleCollectionResponse()(*DriveProtectionRuleCollectionResponse) { + m := &DriveProtectionRuleCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDriveProtectionRuleCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveProtectionRuleCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveProtectionRuleCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveProtectionRuleCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionRuleable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []DriveProtectionRuleable when successful +func (m *DriveProtectionRuleCollectionResponse) GetValue()([]DriveProtectionRuleable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionRuleable) + } + return nil +} +// Serialize serializes information the current object +func (m *DriveProtectionRuleCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *DriveProtectionRuleCollectionResponse) SetValue(value []DriveProtectionRuleable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DriveProtectionRuleCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]DriveProtectionRuleable) + SetValue(value []DriveProtectionRuleable)() +} diff --git a/models/drive_protection_unit.go b/models/drive_protection_unit.go new file mode 100644 index 00000000000..2e6358599cf --- /dev/null +++ b/models/drive_protection_unit.go @@ -0,0 +1,140 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveProtectionUnit struct { + ProtectionUnitBase +} +// NewDriveProtectionUnit instantiates a new DriveProtectionUnit and sets the default values. +func NewDriveProtectionUnit()(*DriveProtectionUnit) { + m := &DriveProtectionUnit{ + ProtectionUnitBase: *NewProtectionUnitBase(), + } + odataTypeValue := "#microsoft.graph.driveProtectionUnit" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDriveProtectionUnitFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveProtectionUnitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveProtectionUnit(), nil +} +// GetDirectoryObjectId gets the directoryObjectId property value. ID of the directory object. +// returns a *string when successful +func (m *DriveProtectionUnit) GetDirectoryObjectId()(*string) { + val, err := m.GetBackingStore().Get("directoryObjectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. Display name of the directory object. +// returns a *string when successful +func (m *DriveProtectionUnit) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmail gets the email property value. Email associated with the directory object. +// returns a *string when successful +func (m *DriveProtectionUnit) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveProtectionUnit) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionUnitBase.GetFieldDeserializers() + res["directoryObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDirectoryObjectId(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *DriveProtectionUnit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionUnitBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("directoryObjectId", m.GetDirectoryObjectId()) + if err != nil { + return err + } + } + return nil +} +// SetDirectoryObjectId sets the directoryObjectId property value. ID of the directory object. +func (m *DriveProtectionUnit) SetDirectoryObjectId(value *string)() { + err := m.GetBackingStore().Set("directoryObjectId", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. Display name of the directory object. +func (m *DriveProtectionUnit) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetEmail sets the email property value. Email associated with the directory object. +func (m *DriveProtectionUnit) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} +type DriveProtectionUnitable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionUnitBaseable + GetDirectoryObjectId()(*string) + GetDisplayName()(*string) + GetEmail()(*string) + SetDirectoryObjectId(value *string)() + SetDisplayName(value *string)() + SetEmail(value *string)() +} diff --git a/models/drive_protection_unit_collection_response.go b/models/drive_protection_unit_collection_response.go new file mode 100644 index 00000000000..9df9b89a515 --- /dev/null +++ b/models/drive_protection_unit_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveProtectionUnitCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDriveProtectionUnitCollectionResponse instantiates a new DriveProtectionUnitCollectionResponse and sets the default values. +func NewDriveProtectionUnitCollectionResponse()(*DriveProtectionUnitCollectionResponse) { + m := &DriveProtectionUnitCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDriveProtectionUnitCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveProtectionUnitCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveProtectionUnitCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveProtectionUnitCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionUnitable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []DriveProtectionUnitable when successful +func (m *DriveProtectionUnitCollectionResponse) GetValue()([]DriveProtectionUnitable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *DriveProtectionUnitCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *DriveProtectionUnitCollectionResponse) SetValue(value []DriveProtectionUnitable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DriveProtectionUnitCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]DriveProtectionUnitable) + SetValue(value []DriveProtectionUnitable)() +} diff --git a/models/drive_restore_artifact.go b/models/drive_restore_artifact.go new file mode 100644 index 00000000000..335fcb3171c --- /dev/null +++ b/models/drive_restore_artifact.go @@ -0,0 +1,138 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveRestoreArtifact struct { + RestoreArtifactBase +} +// NewDriveRestoreArtifact instantiates a new DriveRestoreArtifact and sets the default values. +func NewDriveRestoreArtifact()(*DriveRestoreArtifact) { + m := &DriveRestoreArtifact{ + RestoreArtifactBase: *NewRestoreArtifactBase(), + } + return m +} +// CreateDriveRestoreArtifactFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveRestoreArtifactFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveRestoreArtifact(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveRestoreArtifact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreArtifactBase.GetFieldDeserializers() + res["restoredSiteId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteId(val) + } + return nil + } + res["restoredSiteName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteName(val) + } + return nil + } + res["restoredSiteWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteWebUrl(val) + } + return nil + } + return res +} +// GetRestoredSiteId gets the restoredSiteId property value. The new site identifier if destinationType is new, and the input site ID if the destinationType is inPlace. +// returns a *string when successful +func (m *DriveRestoreArtifact) GetRestoredSiteId()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoredSiteName gets the restoredSiteName property value. The name of the restored site. +// returns a *string when successful +func (m *DriveRestoreArtifact) GetRestoredSiteName()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoredSiteWebUrl gets the restoredSiteWebUrl property value. The web URL of the restored site. +// returns a *string when successful +func (m *DriveRestoreArtifact) GetRestoredSiteWebUrl()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DriveRestoreArtifact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreArtifactBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("restoredSiteId", m.GetRestoredSiteId()) + if err != nil { + return err + } + } + return nil +} +// SetRestoredSiteId sets the restoredSiteId property value. The new site identifier if destinationType is new, and the input site ID if the destinationType is inPlace. +func (m *DriveRestoreArtifact) SetRestoredSiteId(value *string)() { + err := m.GetBackingStore().Set("restoredSiteId", value) + if err != nil { + panic(err) + } +} +// SetRestoredSiteName sets the restoredSiteName property value. The name of the restored site. +func (m *DriveRestoreArtifact) SetRestoredSiteName(value *string)() { + err := m.GetBackingStore().Set("restoredSiteName", value) + if err != nil { + panic(err) + } +} +// SetRestoredSiteWebUrl sets the restoredSiteWebUrl property value. The web URL of the restored site. +func (m *DriveRestoreArtifact) SetRestoredSiteWebUrl(value *string)() { + err := m.GetBackingStore().Set("restoredSiteWebUrl", value) + if err != nil { + panic(err) + } +} +type DriveRestoreArtifactable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreArtifactBaseable + GetRestoredSiteId()(*string) + GetRestoredSiteName()(*string) + GetRestoredSiteWebUrl()(*string) + SetRestoredSiteId(value *string)() + SetRestoredSiteName(value *string)() + SetRestoredSiteWebUrl(value *string)() +} diff --git a/models/drive_restore_artifact_collection_response.go b/models/drive_restore_artifact_collection_response.go new file mode 100644 index 00000000000..62982fa1502 --- /dev/null +++ b/models/drive_restore_artifact_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DriveRestoreArtifactCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDriveRestoreArtifactCollectionResponse instantiates a new DriveRestoreArtifactCollectionResponse and sets the default values. +func NewDriveRestoreArtifactCollectionResponse()(*DriveRestoreArtifactCollectionResponse) { + m := &DriveRestoreArtifactCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDriveRestoreArtifactCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDriveRestoreArtifactCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDriveRestoreArtifactCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DriveRestoreArtifactCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveRestoreArtifactable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []DriveRestoreArtifactable when successful +func (m *DriveRestoreArtifactCollectionResponse) GetValue()([]DriveRestoreArtifactable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveRestoreArtifactable) + } + return nil +} +// Serialize serializes information the current object +func (m *DriveRestoreArtifactCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *DriveRestoreArtifactCollectionResponse) SetValue(value []DriveRestoreArtifactable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DriveRestoreArtifactCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]DriveRestoreArtifactable) + SetValue(value []DriveRestoreArtifactable)() +} diff --git a/models/elevation_request_state.go b/models/elevation_request_state.go index fca67a8dd0d..a049948d633 100644 --- a/models/elevation_request_state.go +++ b/models/elevation_request_state.go @@ -17,10 +17,12 @@ const ( UNKNOWNFUTUREVALUE_ELEVATIONREQUESTSTATE // Set to expire when Approved for is elapsed or ExpireDate is elapsed, whichever is sooner. REVOKED_ELEVATIONREQUESTSTATE + // Indicates an elevation request that was previously approved and expired has been completed. + COMPLETED_ELEVATIONREQUESTSTATE ) func (i ElevationRequestState) String() string { - return []string{"none", "pending", "approved", "denied", "expired", "unknownFutureValue", "revoked"}[i] + return []string{"none", "pending", "approved", "denied", "expired", "unknownFutureValue", "revoked", "completed"}[i] } func ParseElevationRequestState(v string) (any, error) { result := NONE_ELEVATIONREQUESTSTATE @@ -39,6 +41,8 @@ func ParseElevationRequestState(v string) (any, error) { result = UNKNOWNFUTUREVALUE_ELEVATIONREQUESTSTATE case "revoked": result = REVOKED_ELEVATIONREQUESTSTATE + case "completed": + result = COMPLETED_ELEVATIONREQUESTSTATE default: return nil, nil } diff --git a/models/endpoint_privilege_management_provisioning_status.go b/models/endpoint_privilege_management_provisioning_status.go new file mode 100644 index 00000000000..96fbb2726f4 --- /dev/null +++ b/models/endpoint_privilege_management_provisioning_status.go @@ -0,0 +1,115 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EndpointPrivilegeManagementProvisioningStatus endpoint privilege management (EPM) tenant provisioning status contains tenant level license and onboarding state information. +type EndpointPrivilegeManagementProvisioningStatus struct { + Entity +} +// NewEndpointPrivilegeManagementProvisioningStatus instantiates a new EndpointPrivilegeManagementProvisioningStatus and sets the default values. +func NewEndpointPrivilegeManagementProvisioningStatus()(*EndpointPrivilegeManagementProvisioningStatus) { + m := &EndpointPrivilegeManagementProvisioningStatus{ + Entity: *NewEntity(), + } + return m +} +// CreateEndpointPrivilegeManagementProvisioningStatusFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEndpointPrivilegeManagementProvisioningStatusFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEndpointPrivilegeManagementProvisioningStatus(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EndpointPrivilegeManagementProvisioningStatus) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["licenseType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseLicenseType) + if err != nil { + return err + } + if val != nil { + m.SetLicenseType(val.(*LicenseType)) + } + return nil + } + res["onboardedToMicrosoftManagedPlatform"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetOnboardedToMicrosoftManagedPlatform(val) + } + return nil + } + return res +} +// GetLicenseType gets the licenseType property value. Indicates whether tenant has a valid Intune Endpoint Privilege Management license. Possible value are : 0 - notPaid, 1 - paid, 2 - trial. See LicenseType enum for more details. Default notPaid . +// returns a *LicenseType when successful +func (m *EndpointPrivilegeManagementProvisioningStatus) GetLicenseType()(*LicenseType) { + val, err := m.GetBackingStore().Get("licenseType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*LicenseType) + } + return nil +} +// GetOnboardedToMicrosoftManagedPlatform gets the onboardedToMicrosoftManagedPlatform property value. Indicates whether tenant is onboarded to Microsoft Managed Platform - Cloud (MMPC). When set to true, implies tenant is onboarded and when set to false, implies tenant is not onboarded. Default set to false. +// returns a *bool when successful +func (m *EndpointPrivilegeManagementProvisioningStatus) GetOnboardedToMicrosoftManagedPlatform()(*bool) { + val, err := m.GetBackingStore().Get("onboardedToMicrosoftManagedPlatform") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *EndpointPrivilegeManagementProvisioningStatus) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetLicenseType() != nil { + cast := (*m.GetLicenseType()).String() + err = writer.WriteStringValue("licenseType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("onboardedToMicrosoftManagedPlatform", m.GetOnboardedToMicrosoftManagedPlatform()) + if err != nil { + return err + } + } + return nil +} +// SetLicenseType sets the licenseType property value. Indicates whether tenant has a valid Intune Endpoint Privilege Management license. Possible value are : 0 - notPaid, 1 - paid, 2 - trial. See LicenseType enum for more details. Default notPaid . +func (m *EndpointPrivilegeManagementProvisioningStatus) SetLicenseType(value *LicenseType)() { + err := m.GetBackingStore().Set("licenseType", value) + if err != nil { + panic(err) + } +} +// SetOnboardedToMicrosoftManagedPlatform sets the onboardedToMicrosoftManagedPlatform property value. Indicates whether tenant is onboarded to Microsoft Managed Platform - Cloud (MMPC). When set to true, implies tenant is onboarded and when set to false, implies tenant is not onboarded. Default set to false. +func (m *EndpointPrivilegeManagementProvisioningStatus) SetOnboardedToMicrosoftManagedPlatform(value *bool)() { + err := m.GetBackingStore().Set("onboardedToMicrosoftManagedPlatform", value) + if err != nil { + panic(err) + } +} +type EndpointPrivilegeManagementProvisioningStatusable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetLicenseType()(*LicenseType) + GetOnboardedToMicrosoftManagedPlatform()(*bool) + SetLicenseType(value *LicenseType)() + SetOnboardedToMicrosoftManagedPlatform(value *bool)() +} diff --git a/models/enrollment_time_device_membership_target_result.go b/models/enrollment_time_device_membership_target_result.go new file mode 100644 index 00000000000..e70c1a637e5 --- /dev/null +++ b/models/enrollment_time_device_membership_target_result.go @@ -0,0 +1,200 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// EnrollmentTimeDeviceMembershipTargetResult the EnrollmentTimeDeviceMembershipTargetResult entity represents the results of the set/get EnrollmentTimeDeviceMembershipTarget request. The set/get EnrollmentTimeDeviceMembershipTarget API validates the device membership targets specified by the admin to ensure that they exist, that they are of the proper type, and any other target requirements are met such as that the Intune Device Provisioning First Party App is an owner of the target. Failures other than validation will result in 500 else validationSucceeded will be true or false if any of the validation fails for EnrollmentTimeDeviceMembershipTarget. +type EnrollmentTimeDeviceMembershipTargetResult struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEnrollmentTimeDeviceMembershipTargetResult instantiates a new EnrollmentTimeDeviceMembershipTargetResult and sets the default values. +func NewEnrollmentTimeDeviceMembershipTargetResult()(*EnrollmentTimeDeviceMembershipTargetResult) { + m := &EnrollmentTimeDeviceMembershipTargetResult{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEnrollmentTimeDeviceMembershipTargetResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnrollmentTimeDeviceMembershipTargetResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnrollmentTimeDeviceMembershipTargetResult(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEnrollmentTimeDeviceMembershipTargetValidationStatuses gets the enrollmentTimeDeviceMembershipTargetValidationStatuses property value. A list of validation status of the memberships targetted to profile. This collection can contain a maximum of 1 elements. +// returns a []EnrollmentTimeDeviceMembershipTargetStatusable when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetEnrollmentTimeDeviceMembershipTargetValidationStatuses()([]EnrollmentTimeDeviceMembershipTargetStatusable) { + val, err := m.GetBackingStore().Get("enrollmentTimeDeviceMembershipTargetValidationStatuses") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EnrollmentTimeDeviceMembershipTargetStatusable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["enrollmentTimeDeviceMembershipTargetValidationStatuses"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEnrollmentTimeDeviceMembershipTargetStatusFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EnrollmentTimeDeviceMembershipTargetStatusable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EnrollmentTimeDeviceMembershipTargetStatusable) + } + } + m.SetEnrollmentTimeDeviceMembershipTargetValidationStatuses(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["validationSucceeded"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetValidationSucceeded(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValidationSucceeded gets the validationSucceeded property value. Indicates if validations succeeded for the device membership target. When 'true', the device membership target validation found no issues. When 'false', the device membership target validation found issues. default - false +// returns a *bool when successful +func (m *EnrollmentTimeDeviceMembershipTargetResult) GetValidationSucceeded()(*bool) { + val, err := m.GetBackingStore().Get("validationSucceeded") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *EnrollmentTimeDeviceMembershipTargetResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetEnrollmentTimeDeviceMembershipTargetValidationStatuses() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetEnrollmentTimeDeviceMembershipTargetValidationStatuses())) + for i, v := range m.GetEnrollmentTimeDeviceMembershipTargetValidationStatuses() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("enrollmentTimeDeviceMembershipTargetValidationStatuses", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("validationSucceeded", m.GetValidationSucceeded()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EnrollmentTimeDeviceMembershipTargetResult) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EnrollmentTimeDeviceMembershipTargetResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEnrollmentTimeDeviceMembershipTargetValidationStatuses sets the enrollmentTimeDeviceMembershipTargetValidationStatuses property value. A list of validation status of the memberships targetted to profile. This collection can contain a maximum of 1 elements. +func (m *EnrollmentTimeDeviceMembershipTargetResult) SetEnrollmentTimeDeviceMembershipTargetValidationStatuses(value []EnrollmentTimeDeviceMembershipTargetStatusable)() { + err := m.GetBackingStore().Set("enrollmentTimeDeviceMembershipTargetValidationStatuses", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EnrollmentTimeDeviceMembershipTargetResult) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValidationSucceeded sets the validationSucceeded property value. Indicates if validations succeeded for the device membership target. When 'true', the device membership target validation found no issues. When 'false', the device membership target validation found issues. default - false +func (m *EnrollmentTimeDeviceMembershipTargetResult) SetValidationSucceeded(value *bool)() { + err := m.GetBackingStore().Set("validationSucceeded", value) + if err != nil { + panic(err) + } +} +type EnrollmentTimeDeviceMembershipTargetResultable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEnrollmentTimeDeviceMembershipTargetValidationStatuses()([]EnrollmentTimeDeviceMembershipTargetStatusable) + GetOdataType()(*string) + GetValidationSucceeded()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEnrollmentTimeDeviceMembershipTargetValidationStatuses(value []EnrollmentTimeDeviceMembershipTargetStatusable)() + SetOdataType(value *string)() + SetValidationSucceeded(value *bool)() +} diff --git a/models/enrollment_time_device_membership_target_status.go b/models/enrollment_time_device_membership_target_status.go new file mode 100644 index 00000000000..17d557ff178 --- /dev/null +++ b/models/enrollment_time_device_membership_target_status.go @@ -0,0 +1,189 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// EnrollmentTimeDeviceMembershipTargetStatus represents the Validation status of the device membership targets. The set/get EnrollmentTimeDeviceMembershipTarget API validates the device membership targets specified by the admin to ensure that they exist, that they are of the proper type, and any other target requirements are met such as that the Intune Device Provisioning First Party App is an owner of the target. +type EnrollmentTimeDeviceMembershipTargetStatus struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEnrollmentTimeDeviceMembershipTargetStatus instantiates a new EnrollmentTimeDeviceMembershipTargetStatus and sets the default values. +func NewEnrollmentTimeDeviceMembershipTargetStatus()(*EnrollmentTimeDeviceMembershipTargetStatus) { + m := &EnrollmentTimeDeviceMembershipTargetStatus{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEnrollmentTimeDeviceMembershipTargetStatusFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnrollmentTimeDeviceMembershipTargetStatusFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnrollmentTimeDeviceMembershipTargetStatus(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["targetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetId(val) + } + return nil + } + res["targetValidationErrorCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEnrollmentTimeDeviceMembershipTargetValidationErrorCode) + if err != nil { + return err + } + if val != nil { + m.SetTargetValidationErrorCode(val.(*EnrollmentTimeDeviceMembershipTargetValidationErrorCode)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTargetId gets the targetId property value. The unique identifiers of the targets that devices will become members of when enrolled with the asociated profile. +// returns a *string when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetTargetId()(*string) { + val, err := m.GetBackingStore().Get("targetId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTargetValidationErrorCode gets the targetValidationErrorCode property value. Represents the Validation error of the device membership target.The API will validate the device membership targets specified by the admin to ensure that they exist, that they are of the proper type, and any other target requirements are met such as that the Intune Device Provisioning First Party App is an owner of the target. +// returns a *EnrollmentTimeDeviceMembershipTargetValidationErrorCode when successful +func (m *EnrollmentTimeDeviceMembershipTargetStatus) GetTargetValidationErrorCode()(*EnrollmentTimeDeviceMembershipTargetValidationErrorCode) { + val, err := m.GetBackingStore().Get("targetValidationErrorCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EnrollmentTimeDeviceMembershipTargetValidationErrorCode) + } + return nil +} +// Serialize serializes information the current object +func (m *EnrollmentTimeDeviceMembershipTargetStatus) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("targetId", m.GetTargetId()) + if err != nil { + return err + } + } + if m.GetTargetValidationErrorCode() != nil { + cast := (*m.GetTargetValidationErrorCode()).String() + err := writer.WriteStringValue("targetValidationErrorCode", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EnrollmentTimeDeviceMembershipTargetStatus) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EnrollmentTimeDeviceMembershipTargetStatus) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EnrollmentTimeDeviceMembershipTargetStatus) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTargetId sets the targetId property value. The unique identifiers of the targets that devices will become members of when enrolled with the asociated profile. +func (m *EnrollmentTimeDeviceMembershipTargetStatus) SetTargetId(value *string)() { + err := m.GetBackingStore().Set("targetId", value) + if err != nil { + panic(err) + } +} +// SetTargetValidationErrorCode sets the targetValidationErrorCode property value. Represents the Validation error of the device membership target.The API will validate the device membership targets specified by the admin to ensure that they exist, that they are of the proper type, and any other target requirements are met such as that the Intune Device Provisioning First Party App is an owner of the target. +func (m *EnrollmentTimeDeviceMembershipTargetStatus) SetTargetValidationErrorCode(value *EnrollmentTimeDeviceMembershipTargetValidationErrorCode)() { + err := m.GetBackingStore().Set("targetValidationErrorCode", value) + if err != nil { + panic(err) + } +} +type EnrollmentTimeDeviceMembershipTargetStatusable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetTargetId()(*string) + GetTargetValidationErrorCode()(*EnrollmentTimeDeviceMembershipTargetValidationErrorCode) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetTargetId(value *string)() + SetTargetValidationErrorCode(value *EnrollmentTimeDeviceMembershipTargetValidationErrorCode)() +} diff --git a/models/enrollment_time_device_membership_target_validation_error_code.go b/models/enrollment_time_device_membership_target_validation_error_code.go new file mode 100644 index 00000000000..f7cc8f41855 --- /dev/null +++ b/models/enrollment_time_device_membership_target_validation_error_code.go @@ -0,0 +1,56 @@ +package models +// Represents the Validation error of the device membership target.The API will validate the device membership targets specified by the admin to ensure that they exist, that they are of the proper type, and any other target requirements are met such as that the Intune Device Provisioning First Party App is an owner of the target. +type EnrollmentTimeDeviceMembershipTargetValidationErrorCode int + +const ( + // Default. Indicates the status of device membership target is not specified. Do not use. + UNKNOWN_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE EnrollmentTimeDeviceMembershipTargetValidationErrorCode = iota + // Indicates device membership target cannot be found. + SECURITYGROUPNOTFOUND_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + // Indicates device membership target is not a security group. + NOTSECURITYGROUP_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + // Indicates device membership target which is security group but not a static one. + NOTSTATICSECURITYGROUP_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + // Indicates required first party app not the owner of that device membership target. + FIRSTPARTYAPPNOTANOWNER_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + // Indicates that device membership target of type security group is not in the RBAC scope of the caller. + SECURITYGROUPNOTINCALLERSCOPE_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE +) + +func (i EnrollmentTimeDeviceMembershipTargetValidationErrorCode) String() string { + return []string{"unknown", "securityGroupNotFound", "notSecurityGroup", "notStaticSecurityGroup", "firstPartyAppNotAnOwner", "securityGroupNotInCallerScope", "unknownFutureValue"}[i] +} +func ParseEnrollmentTimeDeviceMembershipTargetValidationErrorCode(v string) (any, error) { + result := UNKNOWN_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + switch v { + case "unknown": + result = UNKNOWN_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "securityGroupNotFound": + result = SECURITYGROUPNOTFOUND_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "notSecurityGroup": + result = NOTSECURITYGROUP_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "notStaticSecurityGroup": + result = NOTSTATICSECURITYGROUP_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "firstPartyAppNotAnOwner": + result = FIRSTPARTYAPPNOTANOWNER_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "securityGroupNotInCallerScope": + result = SECURITYGROUPNOTINCALLERSCOPE_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENROLLMENTTIMEDEVICEMEMBERSHIPTARGETVALIDATIONERRORCODE + default: + return nil, nil + } + return &result, nil +} +func SerializeEnrollmentTimeDeviceMembershipTargetValidationErrorCode(values []EnrollmentTimeDeviceMembershipTargetValidationErrorCode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EnrollmentTimeDeviceMembershipTargetValidationErrorCode) isMultiValue() bool { + return false +} diff --git a/models/entity.go b/models/entity.go index 421fef39cc4..6e8a7ec9bff 100644 --- a/models/entity.go +++ b/models/entity.go @@ -488,6 +488,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewB2cIdentityUserFlow(), nil case "#microsoft.graph.b2xIdentityUserFlow": return NewB2xIdentityUserFlow(), nil + case "#microsoft.graph.backupRestoreRoot": + return NewBackupRestoreRoot(), nil case "#microsoft.graph.baseItem": return NewBaseItem(), nil case "#microsoft.graph.baseItemVersion": @@ -1094,6 +1096,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDriveItem(), nil case "#microsoft.graph.driveItemVersion": return NewDriveItemVersion(), nil + case "#microsoft.graph.driveProtectionRule": + return NewDriveProtectionRule(), nil + case "#microsoft.graph.driveProtectionUnit": + return NewDriveProtectionUnit(), nil + case "#microsoft.graph.driveRestoreArtifact": + return NewDriveRestoreArtifact(), nil case "#microsoft.graph.easEmailProfileConfigurationBase": return NewEasEmailProfileConfigurationBase(), nil case "#microsoft.graph.eBookInstallSummary": @@ -1176,6 +1184,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewEncryptedGcpStorageBucketFinding(), nil case "#microsoft.graph.endpoint": return NewEndpoint(), nil + case "#microsoft.graph.endpointPrivilegeManagementProvisioningStatus": + return NewEndpointPrivilegeManagementProvisioningStatus(), nil case "#microsoft.graph.endUserNotification": return NewEndUserNotification(), nil case "#microsoft.graph.endUserNotificationDetail": @@ -1220,6 +1230,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewExactMatchSessionBase(), nil case "#microsoft.graph.exactMatchUploadAgent": return NewExactMatchUploadAgent(), nil + case "#microsoft.graph.exchangeProtectionPolicy": + return NewExchangeProtectionPolicy(), nil + case "#microsoft.graph.exchangeRestoreSession": + return NewExchangeRestoreSession(), nil case "#microsoft.graph.extension": return NewExtension(), nil case "#microsoft.graph.extensionProperty": @@ -1398,6 +1412,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewHardwareConfigurationUserState(), nil case "#microsoft.graph.hardwareOathAuthenticationMethodConfiguration": return NewHardwareOathAuthenticationMethodConfiguration(), nil + case "#microsoft.graph.hardwarePasswordDetail": + return NewHardwarePasswordDetail(), nil case "#microsoft.graph.hardwarePasswordInfo": return NewHardwarePasswordInfo(), nil case "#microsoft.graph.homeRealmDiscoveryPolicy": @@ -1694,6 +1710,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewMacOSWiredNetworkConfiguration(), nil case "#microsoft.graph.mailAssessmentRequest": return NewMailAssessmentRequest(), nil + case "#microsoft.graph.mailboxProtectionRule": + return NewMailboxProtectionRule(), nil + case "#microsoft.graph.mailboxProtectionUnit": + return NewMailboxProtectionUnit(), nil + case "#microsoft.graph.mailboxRestoreArtifact": + return NewMailboxRestoreArtifact(), nil case "#microsoft.graph.mailFolder": return NewMailFolder(), nil case "#microsoft.graph.mailSearchFolder": @@ -1942,6 +1964,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOnAttributeCollectionSubmitListener(), nil case "#microsoft.graph.onAuthenticationMethodLoadStartListener": return NewOnAuthenticationMethodLoadStartListener(), nil + case "#microsoft.graph.oneDriveForBusinessProtectionPolicy": + return NewOneDriveForBusinessProtectionPolicy(), nil + case "#microsoft.graph.oneDriveForBusinessRestoreSession": + return NewOneDriveForBusinessRestoreSession(), nil case "#microsoft.graph.onenote": return NewOnenote(), nil case "#microsoft.graph.onenoteEntityBaseModel": @@ -2066,6 +2092,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewPermissionGrantConditionSet(), nil case "#microsoft.graph.permissionGrantPolicy": return NewPermissionGrantPolicy(), nil + case "#microsoft.graph.permissionGrantPreApprovalPolicy": + return NewPermissionGrantPreApprovalPolicy(), nil case "#microsoft.graph.permissionsAnalytics": return NewPermissionsAnalytics(), nil case "#microsoft.graph.permissionsAnalyticsAggregation": @@ -2270,6 +2298,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewProjectParticipation(), nil case "#microsoft.graph.pronounsSettings": return NewPronounsSettings(), nil + case "#microsoft.graph.protectionPolicyBase": + return NewProtectionPolicyBase(), nil + case "#microsoft.graph.protectionRuleBase": + return NewProtectionRuleBase(), nil + case "#microsoft.graph.protectionUnitBase": + return NewProtectionUnitBase(), nil case "#microsoft.graph.providerTenantSetting": return NewProviderTenantSetting(), nil case "#microsoft.graph.provisioningObjectSummary": @@ -2320,6 +2354,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewResourceOperation(), nil case "#microsoft.graph.resourceSpecificPermissionGrant": return NewResourceSpecificPermissionGrant(), nil + case "#microsoft.graph.restoreArtifactBase": + return NewRestoreArtifactBase(), nil + case "#microsoft.graph.restorePoint": + return NewRestorePoint(), nil + case "#microsoft.graph.restoreSessionBase": + return NewRestoreSessionBase(), nil case "#microsoft.graph.restrictedAppsViolation": return NewRestrictedAppsViolation(), nil case "#microsoft.graph.richLongRunningOperation": @@ -2440,6 +2480,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewServiceAnnouncementAttachment(), nil case "#microsoft.graph.serviceAnnouncementBase": return NewServiceAnnouncementBase(), nil + case "#microsoft.graph.serviceApp": + return NewServiceApp(), nil case "#microsoft.graph.serviceHealth": return NewServiceHealth(), nil case "#microsoft.graph.serviceHealthIssue": @@ -2478,6 +2520,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSharedWithChannelTeamInfo(), nil case "#microsoft.graph.sharepoint": return NewSharepoint(), nil + case "#microsoft.graph.sharePointProtectionPolicy": + return NewSharePointProtectionPolicy(), nil + case "#microsoft.graph.sharePointRestoreSession": + return NewSharePointRestoreSession(), nil case "#microsoft.graph.sharepointSettings": return NewSharepointSettings(), nil case "#microsoft.graph.shift": @@ -2500,6 +2546,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSite(), nil case "#microsoft.graph.sitePage": return NewSitePage(), nil + case "#microsoft.graph.siteProtectionRule": + return NewSiteProtectionRule(), nil + case "#microsoft.graph.siteProtectionUnit": + return NewSiteProtectionUnit(), nil + case "#microsoft.graph.siteRestoreArtifact": + return NewSiteRestoreArtifact(), nil case "#microsoft.graph.skillProficiency": return NewSkillProficiency(), nil case "#microsoft.graph.skypeForBusinessUserConversationMember": @@ -3148,6 +3200,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewWindowsProtectionState(), nil case "#microsoft.graph.windowsQualityUpdateCatalogItem": return NewWindowsQualityUpdateCatalogItem(), nil + case "#microsoft.graph.windowsQualityUpdatePolicy": + return NewWindowsQualityUpdatePolicy(), nil + case "#microsoft.graph.windowsQualityUpdatePolicyAssignment": + return NewWindowsQualityUpdatePolicyAssignment(), nil case "#microsoft.graph.windowsQualityUpdateProfile": return NewWindowsQualityUpdateProfile(), nil case "#microsoft.graph.windowsQualityUpdateProfileAssignment": diff --git a/models/enumerated_pre_approved_permissions.go b/models/enumerated_pre_approved_permissions.go new file mode 100644 index 00000000000..319dfe7800d --- /dev/null +++ b/models/enumerated_pre_approved_permissions.go @@ -0,0 +1,121 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EnumeratedPreApprovedPermissions struct { + PreApprovedPermissions +} +// NewEnumeratedPreApprovedPermissions instantiates a new EnumeratedPreApprovedPermissions and sets the default values. +func NewEnumeratedPreApprovedPermissions()(*EnumeratedPreApprovedPermissions) { + m := &EnumeratedPreApprovedPermissions{ + PreApprovedPermissions: *NewPreApprovedPermissions(), + } + odataTypeValue := "#microsoft.graph.enumeratedPreApprovedPermissions" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEnumeratedPreApprovedPermissionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnumeratedPreApprovedPermissionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnumeratedPreApprovedPermissions(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnumeratedPreApprovedPermissions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PreApprovedPermissions.GetFieldDeserializers() + res["permissionIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetPermissionIds(res) + } + return nil + } + res["resourceApplicationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceApplicationId(val) + } + return nil + } + return res +} +// GetPermissionIds gets the permissionIds property value. The list of id values for the specific resource-specific application permissions to match with. See the resourceSpecificApplicationPermissions property of the servicePrincipal object for the list of permissions. +// returns a []string when successful +func (m *EnumeratedPreApprovedPermissions) GetPermissionIds()([]string) { + val, err := m.GetBackingStore().Get("permissionIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetResourceApplicationId gets the resourceApplicationId property value. The appId of the resource application (the API). Required. +// returns a *string when successful +func (m *EnumeratedPreApprovedPermissions) GetResourceApplicationId()(*string) { + val, err := m.GetBackingStore().Get("resourceApplicationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EnumeratedPreApprovedPermissions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PreApprovedPermissions.Serialize(writer) + if err != nil { + return err + } + if m.GetPermissionIds() != nil { + err = writer.WriteCollectionOfStringValues("permissionIds", m.GetPermissionIds()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("resourceApplicationId", m.GetResourceApplicationId()) + if err != nil { + return err + } + } + return nil +} +// SetPermissionIds sets the permissionIds property value. The list of id values for the specific resource-specific application permissions to match with. See the resourceSpecificApplicationPermissions property of the servicePrincipal object for the list of permissions. +func (m *EnumeratedPreApprovedPermissions) SetPermissionIds(value []string)() { + err := m.GetBackingStore().Set("permissionIds", value) + if err != nil { + panic(err) + } +} +// SetResourceApplicationId sets the resourceApplicationId property value. The appId of the resource application (the API). Required. +func (m *EnumeratedPreApprovedPermissions) SetResourceApplicationId(value *string)() { + err := m.GetBackingStore().Set("resourceApplicationId", value) + if err != nil { + panic(err) + } +} +type EnumeratedPreApprovedPermissionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PreApprovedPermissionsable + GetPermissionIds()([]string) + GetResourceApplicationId()(*string) + SetPermissionIds(value []string)() + SetResourceApplicationId(value *string)() +} diff --git a/models/enumerated_scope_sensitivity_labels.go b/models/enumerated_scope_sensitivity_labels.go new file mode 100644 index 00000000000..18b8b9446f8 --- /dev/null +++ b/models/enumerated_scope_sensitivity_labels.go @@ -0,0 +1,84 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EnumeratedScopeSensitivityLabels struct { + ScopeSensitivityLabels +} +// NewEnumeratedScopeSensitivityLabels instantiates a new EnumeratedScopeSensitivityLabels and sets the default values. +func NewEnumeratedScopeSensitivityLabels()(*EnumeratedScopeSensitivityLabels) { + m := &EnumeratedScopeSensitivityLabels{ + ScopeSensitivityLabels: *NewScopeSensitivityLabels(), + } + odataTypeValue := "#microsoft.graph.enumeratedScopeSensitivityLabels" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEnumeratedScopeSensitivityLabelsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnumeratedScopeSensitivityLabelsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnumeratedScopeSensitivityLabels(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnumeratedScopeSensitivityLabels) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ScopeSensitivityLabels.GetFieldDeserializers() + res["sensitivityLabels"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSensitivityLabels(res) + } + return nil + } + return res +} +// GetSensitivityLabels gets the sensitivityLabels property value. The sensitivity labels that are applicable to the scope type and have been preapproved. Required. +// returns a []string when successful +func (m *EnumeratedScopeSensitivityLabels) GetSensitivityLabels()([]string) { + val, err := m.GetBackingStore().Get("sensitivityLabels") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *EnumeratedScopeSensitivityLabels) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ScopeSensitivityLabels.Serialize(writer) + if err != nil { + return err + } + if m.GetSensitivityLabels() != nil { + err = writer.WriteCollectionOfStringValues("sensitivityLabels", m.GetSensitivityLabels()) + if err != nil { + return err + } + } + return nil +} +// SetSensitivityLabels sets the sensitivityLabels property value. The sensitivity labels that are applicable to the scope type and have been preapproved. Required. +func (m *EnumeratedScopeSensitivityLabels) SetSensitivityLabels(value []string)() { + err := m.GetBackingStore().Set("sensitivityLabels", value) + if err != nil { + panic(err) + } +} +type EnumeratedScopeSensitivityLabelsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ScopeSensitivityLabelsable + GetSensitivityLabels()([]string) + SetSensitivityLabels(value []string)() +} diff --git a/models/exchange_protection_policy.go b/models/exchange_protection_policy.go new file mode 100644 index 00000000000..58832663009 --- /dev/null +++ b/models/exchange_protection_policy.go @@ -0,0 +1,139 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeProtectionPolicy struct { + ProtectionPolicyBase +} +// NewExchangeProtectionPolicy instantiates a new ExchangeProtectionPolicy and sets the default values. +func NewExchangeProtectionPolicy()(*ExchangeProtectionPolicy) { + m := &ExchangeProtectionPolicy{ + ProtectionPolicyBase: *NewProtectionPolicyBase(), + } + odataTypeValue := "#microsoft.graph.exchangeProtectionPolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateExchangeProtectionPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeProtectionPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeProtectionPolicy(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeProtectionPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionPolicyBase.GetFieldDeserializers() + res["mailboxInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionRuleable) + } + } + m.SetMailboxInclusionRules(res) + } + return nil + } + res["mailboxProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionUnitable) + } + } + m.SetMailboxProtectionUnits(res) + } + return nil + } + return res +} +// GetMailboxInclusionRules gets the mailboxInclusionRules property value. The rules associated with the Exchange protection policy. +// returns a []MailboxProtectionRuleable when successful +func (m *ExchangeProtectionPolicy) GetMailboxInclusionRules()([]MailboxProtectionRuleable) { + val, err := m.GetBackingStore().Get("mailboxInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionRuleable) + } + return nil +} +// GetMailboxProtectionUnits gets the mailboxProtectionUnits property value. The protection units (mailboxes) that are protected under the Exchange protection policy. +// returns a []MailboxProtectionUnitable when successful +func (m *ExchangeProtectionPolicy) GetMailboxProtectionUnits()([]MailboxProtectionUnitable) { + val, err := m.GetBackingStore().Get("mailboxProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeProtectionPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionPolicyBase.Serialize(writer) + if err != nil { + return err + } + if m.GetMailboxInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMailboxInclusionRules())) + for i, v := range m.GetMailboxInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mailboxInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetMailboxProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMailboxProtectionUnits())) + for i, v := range m.GetMailboxProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mailboxProtectionUnits", cast) + if err != nil { + return err + } + } + return nil +} +// SetMailboxInclusionRules sets the mailboxInclusionRules property value. The rules associated with the Exchange protection policy. +func (m *ExchangeProtectionPolicy) SetMailboxInclusionRules(value []MailboxProtectionRuleable)() { + err := m.GetBackingStore().Set("mailboxInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetMailboxProtectionUnits sets the mailboxProtectionUnits property value. The protection units (mailboxes) that are protected under the Exchange protection policy. +func (m *ExchangeProtectionPolicy) SetMailboxProtectionUnits(value []MailboxProtectionUnitable)() { + err := m.GetBackingStore().Set("mailboxProtectionUnits", value) + if err != nil { + panic(err) + } +} +type ExchangeProtectionPolicyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionPolicyBaseable + GetMailboxInclusionRules()([]MailboxProtectionRuleable) + GetMailboxProtectionUnits()([]MailboxProtectionUnitable) + SetMailboxInclusionRules(value []MailboxProtectionRuleable)() + SetMailboxProtectionUnits(value []MailboxProtectionUnitable)() +} diff --git a/models/exchange_protection_policy_collection_response.go b/models/exchange_protection_policy_collection_response.go new file mode 100644 index 00000000000..72b33c9acf2 --- /dev/null +++ b/models/exchange_protection_policy_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeProtectionPolicyCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewExchangeProtectionPolicyCollectionResponse instantiates a new ExchangeProtectionPolicyCollectionResponse and sets the default values. +func NewExchangeProtectionPolicyCollectionResponse()(*ExchangeProtectionPolicyCollectionResponse) { + m := &ExchangeProtectionPolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateExchangeProtectionPolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeProtectionPolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeProtectionPolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeProtectionPolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeProtectionPolicyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ExchangeProtectionPolicyable when successful +func (m *ExchangeProtectionPolicyCollectionResponse) GetValue()([]ExchangeProtectionPolicyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeProtectionPolicyable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeProtectionPolicyCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ExchangeProtectionPolicyCollectionResponse) SetValue(value []ExchangeProtectionPolicyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ExchangeProtectionPolicyCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ExchangeProtectionPolicyable) + SetValue(value []ExchangeProtectionPolicyable)() +} diff --git a/models/exchange_restore_session.go b/models/exchange_restore_session.go new file mode 100644 index 00000000000..c1a1b700a2a --- /dev/null +++ b/models/exchange_restore_session.go @@ -0,0 +1,90 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeRestoreSession struct { + RestoreSessionBase +} +// NewExchangeRestoreSession instantiates a new ExchangeRestoreSession and sets the default values. +func NewExchangeRestoreSession()(*ExchangeRestoreSession) { + m := &ExchangeRestoreSession{ + RestoreSessionBase: *NewRestoreSessionBase(), + } + odataTypeValue := "#microsoft.graph.exchangeRestoreSession" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateExchangeRestoreSessionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeRestoreSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeRestoreSession(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeRestoreSession) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreSessionBase.GetFieldDeserializers() + res["mailboxRestoreArtifacts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxRestoreArtifactable) + } + } + m.SetMailboxRestoreArtifacts(res) + } + return nil + } + return res +} +// GetMailboxRestoreArtifacts gets the mailboxRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore Exchange mailboxes. +// returns a []MailboxRestoreArtifactable when successful +func (m *ExchangeRestoreSession) GetMailboxRestoreArtifacts()([]MailboxRestoreArtifactable) { + val, err := m.GetBackingStore().Get("mailboxRestoreArtifacts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxRestoreArtifactable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeRestoreSession) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreSessionBase.Serialize(writer) + if err != nil { + return err + } + if m.GetMailboxRestoreArtifacts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMailboxRestoreArtifacts())) + for i, v := range m.GetMailboxRestoreArtifacts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mailboxRestoreArtifacts", cast) + if err != nil { + return err + } + } + return nil +} +// SetMailboxRestoreArtifacts sets the mailboxRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore Exchange mailboxes. +func (m *ExchangeRestoreSession) SetMailboxRestoreArtifacts(value []MailboxRestoreArtifactable)() { + err := m.GetBackingStore().Set("mailboxRestoreArtifacts", value) + if err != nil { + panic(err) + } +} +type ExchangeRestoreSessionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreSessionBaseable + GetMailboxRestoreArtifacts()([]MailboxRestoreArtifactable) + SetMailboxRestoreArtifacts(value []MailboxRestoreArtifactable)() +} diff --git a/models/exchange_restore_session_collection_response.go b/models/exchange_restore_session_collection_response.go new file mode 100644 index 00000000000..db8e7a2d417 --- /dev/null +++ b/models/exchange_restore_session_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeRestoreSessionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewExchangeRestoreSessionCollectionResponse instantiates a new ExchangeRestoreSessionCollectionResponse and sets the default values. +func NewExchangeRestoreSessionCollectionResponse()(*ExchangeRestoreSessionCollectionResponse) { + m := &ExchangeRestoreSessionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateExchangeRestoreSessionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeRestoreSessionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeRestoreSessionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeRestoreSessionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeRestoreSessionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ExchangeRestoreSessionable when successful +func (m *ExchangeRestoreSessionCollectionResponse) GetValue()([]ExchangeRestoreSessionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeRestoreSessionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeRestoreSessionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ExchangeRestoreSessionCollectionResponse) SetValue(value []ExchangeRestoreSessionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ExchangeRestoreSessionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ExchangeRestoreSessionable) + SetValue(value []ExchangeRestoreSessionable)() +} diff --git a/models/externalconnectors/display_template.go b/models/externalconnectors/display_template.go index 0b753866f0f..7112e10db4b 100644 --- a/models/externalconnectors/display_template.go +++ b/models/externalconnectors/display_template.go @@ -2,7 +2,6 @@ package externalconnectors import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *DisplayTemplate) GetFieldDeserializers()(map[string]func(i878a80d2330e8 return nil } res["layout"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLayout(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLayout(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -115,15 +114,15 @@ func (m *DisplayTemplate) GetId()(*string) { } return nil } -// GetLayout gets the layout property value. The layout property -// returns a Jsonable when successful -func (m *DisplayTemplate) GetLayout()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// GetLayout gets the layout property value. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. +// returns a UntypedNodeable when successful +func (m *DisplayTemplate) GetLayout()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("layout") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -227,8 +226,8 @@ func (m *DisplayTemplate) SetId(value *string)() { panic(err) } } -// SetLayout sets the layout property value. The layout property -func (m *DisplayTemplate) SetLayout(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +// SetLayout sets the layout property value. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. +func (m *DisplayTemplate) SetLayout(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("layout", value) if err != nil { panic(err) @@ -261,13 +260,13 @@ type DisplayTemplateable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetId()(*string) - GetLayout()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLayout()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetOdataType()(*string) GetPriority()(*int32) GetRules()([]PropertyRuleable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetId(value *string)() - SetLayout(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLayout(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetOdataType(value *string)() SetPriority(value *int32)() SetRules(value []PropertyRuleable)() diff --git a/models/hardware_configuration.go b/models/hardware_configuration.go index 2411933e98b..3cc44f2886a 100644 --- a/models/hardware_configuration.go +++ b/models/hardware_configuration.go @@ -5,7 +5,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -// HardwareConfiguration bIOS configuration and other settings provides customers the ability to configure hardware/bios settings on the enrolled Windows 10/11 Entra ID joined devices by uploading a configuration file generated with their OEM tool (e.g. Dell Command tool). A BIOS configuration policy can be assigned to multiple devices, allowing admins to remotely control a device's hardware properties (e.g. enable Secure Boot) from the Intune Portal. +// HardwareConfiguration bIOS configuration and other settings provides customers the ability to configure hardware/bios settings on the enrolled Windows 10/11 Entra ID joined devices by uploading a configuration file generated with their OEM tool (e.g. Dell Command tool). A BIOS configuration policy can be assigned to multiple devices, allowing admins to remotely control a device's hardware properties (e.g. enable Secure Boot) from the Intune Portal. Supported for Dell only at this time. type HardwareConfiguration struct { Entity } diff --git a/models/hardware_password_detail.go b/models/hardware_password_detail.go new file mode 100644 index 00000000000..8bf5102720e --- /dev/null +++ b/models/hardware_password_detail.go @@ -0,0 +1,145 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// HardwarePasswordDetail device BIOS password information for devices with managed BIOS and firmware configuration, which provides device serial number, list of previous passwords, and current password. +type HardwarePasswordDetail struct { + Entity +} +// NewHardwarePasswordDetail instantiates a new HardwarePasswordDetail and sets the default values. +func NewHardwarePasswordDetail()(*HardwarePasswordDetail) { + m := &HardwarePasswordDetail{ + Entity: *NewEntity(), + } + return m +} +// CreateHardwarePasswordDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwarePasswordDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwarePasswordDetail(), nil +} +// GetCurrentPassword gets the currentPassword property value. The current device's BIOS password. Supports: $filter, $select, $top, $OrderBy, $skip. This property is read-only. +// returns a *string when successful +func (m *HardwarePasswordDetail) GetCurrentPassword()(*string) { + val, err := m.GetBackingStore().Get("currentPassword") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwarePasswordDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["currentPassword"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCurrentPassword(val) + } + return nil + } + res["previousPasswords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetPreviousPasswords(res) + } + return nil + } + res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSerialNumber(val) + } + return nil + } + return res +} +// GetPreviousPasswords gets the previousPasswords property value. The list of all the previous device BIOS passwords. Supports: $filter, $select, $top, $skip. This property is read-only. +// returns a []string when successful +func (m *HardwarePasswordDetail) GetPreviousPasswords()([]string) { + val, err := m.GetBackingStore().Get("previousPasswords") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSerialNumber gets the serialNumber property value. The device serial number as defined by the device manufacturer. Supports: $filter, $select, $top, $OrderBy, $skip. This property is read-only. +// returns a *string when successful +func (m *HardwarePasswordDetail) GetSerialNumber()(*string) { + val, err := m.GetBackingStore().Get("serialNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *HardwarePasswordDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("serialNumber", m.GetSerialNumber()) + if err != nil { + return err + } + } + return nil +} +// SetCurrentPassword sets the currentPassword property value. The current device's BIOS password. Supports: $filter, $select, $top, $OrderBy, $skip. This property is read-only. +func (m *HardwarePasswordDetail) SetCurrentPassword(value *string)() { + err := m.GetBackingStore().Set("currentPassword", value) + if err != nil { + panic(err) + } +} +// SetPreviousPasswords sets the previousPasswords property value. The list of all the previous device BIOS passwords. Supports: $filter, $select, $top, $skip. This property is read-only. +func (m *HardwarePasswordDetail) SetPreviousPasswords(value []string)() { + err := m.GetBackingStore().Set("previousPasswords", value) + if err != nil { + panic(err) + } +} +// SetSerialNumber sets the serialNumber property value. The device serial number as defined by the device manufacturer. Supports: $filter, $select, $top, $OrderBy, $skip. This property is read-only. +func (m *HardwarePasswordDetail) SetSerialNumber(value *string)() { + err := m.GetBackingStore().Set("serialNumber", value) + if err != nil { + panic(err) + } +} +type HardwarePasswordDetailable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCurrentPassword()(*string) + GetPreviousPasswords()([]string) + GetSerialNumber()(*string) + SetCurrentPassword(value *string)() + SetPreviousPasswords(value []string)() + SetSerialNumber(value *string)() +} diff --git a/models/hardware_password_detail_collection_response.go b/models/hardware_password_detail_collection_response.go new file mode 100644 index 00000000000..2a6d965af8c --- /dev/null +++ b/models/hardware_password_detail_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HardwarePasswordDetailCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewHardwarePasswordDetailCollectionResponse instantiates a new HardwarePasswordDetailCollectionResponse and sets the default values. +func NewHardwarePasswordDetailCollectionResponse()(*HardwarePasswordDetailCollectionResponse) { + m := &HardwarePasswordDetailCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateHardwarePasswordDetailCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwarePasswordDetailCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwarePasswordDetailCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwarePasswordDetailCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwarePasswordDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwarePasswordDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwarePasswordDetailable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []HardwarePasswordDetailable when successful +func (m *HardwarePasswordDetailCollectionResponse) GetValue()([]HardwarePasswordDetailable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwarePasswordDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *HardwarePasswordDetailCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *HardwarePasswordDetailCollectionResponse) SetValue(value []HardwarePasswordDetailable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type HardwarePasswordDetailCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]HardwarePasswordDetailable) + SetValue(value []HardwarePasswordDetailable)() +} diff --git a/models/hardware_password_info.go b/models/hardware_password_info.go index 5ef82ddcf3c..4dcbfc0944c 100644 --- a/models/hardware_password_info.go +++ b/models/hardware_password_info.go @@ -4,7 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -// HardwarePasswordInfo intune will provide customer the ability to configure hardware/bios settings on the enrolled windows 10 Azure Active Directory joined devices. +// HardwarePasswordInfo intune will provide customer the ability to configure hardware/bios settings on the enrolled windows 10 Azure Active Directory joined devices. Starting from June, 2024 (Intune Release 2406), this type will no longer be supported and will be marked as deprecated type HardwarePasswordInfo struct { Entity } @@ -104,18 +104,6 @@ func (m *HardwarePasswordInfo) Serialize(writer i878a80d2330e89d26896388a3f487ee if err != nil { return err } - { - err = writer.WriteStringValue("currentPassword", m.GetCurrentPassword()) - if err != nil { - return err - } - } - if m.GetPreviousPasswords() != nil { - err = writer.WriteCollectionOfStringValues("previousPasswords", m.GetPreviousPasswords()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("serialNumber", m.GetSerialNumber()) if err != nil { diff --git a/models/identity.go b/models/identity.go index 638045c1e1e..d766fdad371 100644 --- a/models/identity.go +++ b/models/identity.go @@ -102,7 +102,7 @@ func (m *Identity) GetAdditionalData()(map[string]any) { func (m *Identity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The display name of the identity. This property is read-only. +// GetDisplayName 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. // returns a *string when successful func (m *Identity) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -150,7 +150,7 @@ func (m *Identity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetId gets the id property value. The identifier of the identity. This property is read-only. +// GetId 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. // returns a *string when successful func (m *Identity) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -213,14 +213,14 @@ func (m *Identity) SetAdditionalData(value map[string]any)() { func (m *Identity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The display name of the identity. This property is read-only. +// SetDisplayName 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. func (m *Identity) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetId sets the id property value. The identifier of the identity. This property is read-only. +// SetId 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. func (m *Identity) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/identity_set.go b/models/identity_set.go index 4f7bf6f9002..749df189cbf 100644 --- a/models/identity_set.go +++ b/models/identity_set.go @@ -61,7 +61,7 @@ func (m *IdentitySet) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplication gets the application property value. The Identity of the Application. This property is read-only. +// GetApplication gets the application property value. Optional. The application associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetApplication()(Identityable) { val, err := m.GetBackingStore().Get("application") @@ -78,7 +78,7 @@ func (m *IdentitySet) GetApplication()(Identityable) { func (m *IdentitySet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDevice gets the device property value. The Identity of the Device. This property is read-only. +// GetDevice gets the device property value. Optional. The device associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetDevice()(Identityable) { val, err := m.GetBackingStore().Get("device") @@ -148,7 +148,7 @@ func (m *IdentitySet) GetOdataType()(*string) { } return nil } -// GetUser gets the user property value. The Identity of the User. This property is read-only. +// GetUser gets the user property value. Optional. The user associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetUser()(Identityable) { val, err := m.GetBackingStore().Get("user") @@ -201,7 +201,7 @@ func (m *IdentitySet) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApplication sets the application property value. The Identity of the Application. This property is read-only. +// SetApplication sets the application property value. Optional. The application associated with this action. func (m *IdentitySet) SetApplication(value Identityable)() { err := m.GetBackingStore().Set("application", value) if err != nil { @@ -212,7 +212,7 @@ func (m *IdentitySet) SetApplication(value Identityable)() { func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDevice sets the device property value. The Identity of the Device. This property is read-only. +// SetDevice sets the device property value. Optional. The device associated with this action. func (m *IdentitySet) SetDevice(value Identityable)() { err := m.GetBackingStore().Set("device", value) if err != nil { @@ -226,7 +226,7 @@ func (m *IdentitySet) SetOdataType(value *string)() { panic(err) } } -// SetUser sets the user property value. The Identity of the User. This property is read-only. +// SetUser sets the user property value. Optional. The user associated with this action. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/ios_lob_app_provisioning_configuration.go b/models/ios_lob_app_provisioning_configuration.go index 762ebf06ff5..4c72c8d7e93 100644 --- a/models/ios_lob_app_provisioning_configuration.go +++ b/models/ios_lob_app_provisioning_configuration.go @@ -21,7 +21,7 @@ func NewIosLobAppProvisioningConfiguration()(*IosLobAppProvisioningConfiguration func CreateIosLobAppProvisioningConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewIosLobAppProvisioningConfiguration(), nil } -// GetAssignments gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// GetAssignments gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. // returns a []IosLobAppProvisioningConfigurationAssignmentable when successful func (m *IosLobAppProvisioningConfiguration) GetAssignments()([]IosLobAppProvisioningConfigurationAssignmentable) { val, err := m.GetBackingStore().Get("assignments") @@ -81,7 +81,7 @@ func (m *IosLobAppProvisioningConfiguration) GetDisplayName()(*string) { } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. Optional profile expiration date and time. 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'. Returned by default. +// GetExpirationDateTime gets the expirationDateTime property value. Optional profile expiration date and time. // returns a *Time when successful func (m *IosLobAppProvisioningConfiguration) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -453,7 +453,7 @@ func (m *IosLobAppProvisioningConfiguration) Serialize(writer i878a80d2330e89d26 } return nil } -// SetAssignments sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// SetAssignments sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. func (m *IosLobAppProvisioningConfiguration) SetAssignments(value []IosLobAppProvisioningConfigurationAssignmentable)() { err := m.GetBackingStore().Set("assignments", value) if err != nil { @@ -488,7 +488,7 @@ func (m *IosLobAppProvisioningConfiguration) SetDisplayName(value *string)() { panic(err) } } -// SetExpirationDateTime sets the expirationDateTime property value. Optional profile expiration date and time. 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'. Returned by default. +// SetExpirationDateTime sets the expirationDateTime property value. Optional profile expiration date and time. func (m *IosLobAppProvisioningConfiguration) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { diff --git a/models/label_kind.go b/models/label_kind.go new file mode 100644 index 00000000000..f153a8ef23f --- /dev/null +++ b/models/label_kind.go @@ -0,0 +1,36 @@ +package models +type LabelKind int + +const ( + ALL_LABELKIND LabelKind = iota + ENUMERATED_LABELKIND + UNKNOWNFUTUREVALUE_LABELKIND +) + +func (i LabelKind) String() string { + return []string{"all", "enumerated", "unknownFutureValue"}[i] +} +func ParseLabelKind(v string) (any, error) { + result := ALL_LABELKIND + switch v { + case "all": + result = ALL_LABELKIND + case "enumerated": + result = ENUMERATED_LABELKIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_LABELKIND + default: + return nil, nil + } + return &result, nil +} +func SerializeLabelKind(values []LabelKind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i LabelKind) isMultiValue() bool { + return false +} diff --git a/models/license_type.go b/models/license_type.go new file mode 100644 index 00000000000..aa8f6ef0734 --- /dev/null +++ b/models/license_type.go @@ -0,0 +1,44 @@ +package models +// Indicates whether tenant has a valid Intune Endpoint Privilege Management license. Possible value are : 0 - notPaid, 1 - paid, 2 - trial. See LicenseType enum for more details. Default notPaid . +type LicenseType int + +const ( + // Indicates the tenant has neither trial or paid license. + NOTPAID_LICENSETYPE LicenseType = iota + // Indicates the tenant has paid Endpoint Privilege Management license. + PAID_LICENSETYPE + // Indicates the tenant has trial Endpoint Privilege Management license. + TRIAL_LICENSETYPE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_LICENSETYPE +) + +func (i LicenseType) String() string { + return []string{"notPaid", "paid", "trial", "unknownFutureValue"}[i] +} +func ParseLicenseType(v string) (any, error) { + result := NOTPAID_LICENSETYPE + switch v { + case "notPaid": + result = NOTPAID_LICENSETYPE + case "paid": + result = PAID_LICENSETYPE + case "trial": + result = TRIAL_LICENSETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_LICENSETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeLicenseType(values []LicenseType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i LicenseType) isMultiValue() bool { + return false +} diff --git a/models/list.go b/models/list.go index 1085d84c394..3febd4e1a13 100644 --- a/models/list.go +++ b/models/list.go @@ -195,6 +195,22 @@ func (m *List) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Permissionable) + } + } + m.SetPermissions(res) + } + return nil + } res["sharepointIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSharepointIdsFromDiscriminatorValue) if err != nil { @@ -269,6 +285,18 @@ func (m *List) GetOperations()([]RichLongRunningOperationable) { } return nil } +// GetPermissions gets the permissions property value. The permissions property +// returns a []Permissionable when successful +func (m *List) GetPermissions()([]Permissionable) { + val, err := m.GetBackingStore().Get("permissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Permissionable) + } + return nil +} // GetSharepointIds gets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only. // returns a SharepointIdsable when successful func (m *List) GetSharepointIds()(SharepointIdsable) { @@ -389,6 +417,18 @@ func (m *List) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetPermissions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissions())) + for i, v := range m.GetPermissions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("permissions", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("sharepointIds", m.GetSharepointIds()) if err != nil { @@ -471,6 +511,13 @@ func (m *List) SetOperations(value []RichLongRunningOperationable)() { panic(err) } } +// SetPermissions sets the permissions property value. The permissions property +func (m *List) SetPermissions(value []Permissionable)() { + err := m.GetBackingStore().Set("permissions", value) + if err != nil { + panic(err) + } +} // SetSharepointIds sets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only. func (m *List) SetSharepointIds(value SharepointIdsable)() { err := m.GetBackingStore().Set("sharepointIds", value) @@ -503,6 +550,7 @@ type Listable interface { GetItems()([]ListItemable) GetList()(ListInfoable) GetOperations()([]RichLongRunningOperationable) + GetPermissions()([]Permissionable) GetSharepointIds()(SharepointIdsable) GetSubscriptions()([]Subscriptionable) GetSystem()(SystemFacetable) @@ -514,6 +562,7 @@ type Listable interface { SetItems(value []ListItemable)() SetList(value ListInfoable)() SetOperations(value []RichLongRunningOperationable)() + SetPermissions(value []Permissionable)() SetSharepointIds(value SharepointIdsable)() SetSubscriptions(value []Subscriptionable)() SetSystem(value SystemFacetable)() diff --git a/models/list_item.go b/models/list_item.go index 0b28778fe99..1a6cb636a20 100644 --- a/models/list_item.go +++ b/models/list_item.go @@ -179,6 +179,22 @@ func (m *ListItem) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Permissionable) + } + } + m.SetPermissions(res) + } + return nil + } res["sharepointIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSharepointIdsFromDiscriminatorValue) if err != nil { @@ -219,6 +235,18 @@ func (m *ListItem) GetFields()(FieldValueSetable) { } return nil } +// GetPermissions gets the permissions property value. The permissions property +// returns a []Permissionable when successful +func (m *ListItem) GetPermissions()([]Permissionable) { + val, err := m.GetBackingStore().Get("permissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Permissionable) + } + return nil +} // GetSharepointIds gets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only. // returns a SharepointIdsable when successful func (m *ListItem) GetSharepointIds()(SharepointIdsable) { @@ -303,6 +331,18 @@ func (m *ListItem) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + if m.GetPermissions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissions())) + for i, v := range m.GetPermissions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("permissions", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("sharepointIds", m.GetSharepointIds()) if err != nil { @@ -372,6 +412,13 @@ func (m *ListItem) SetFields(value FieldValueSetable)() { panic(err) } } +// SetPermissions sets the permissions property value. The permissions property +func (m *ListItem) SetPermissions(value []Permissionable)() { + err := m.GetBackingStore().Set("permissions", value) + if err != nil { + panic(err) + } +} // SetSharepointIds sets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only. func (m *ListItem) SetSharepointIds(value SharepointIdsable)() { err := m.GetBackingStore().Set("sharepointIds", value) @@ -396,6 +443,7 @@ type ListItemable interface { GetDocumentSetVersions()([]DocumentSetVersionable) GetDriveItem()(DriveItemable) GetFields()(FieldValueSetable) + GetPermissions()([]Permissionable) GetSharepointIds()(SharepointIdsable) GetVersions()([]ListItemVersionable) SetActivities(value []ItemActivityOLDable)() @@ -405,6 +453,7 @@ type ListItemable interface { SetDocumentSetVersions(value []DocumentSetVersionable)() SetDriveItem(value DriveItemable)() SetFields(value FieldValueSetable)() + SetPermissions(value []Permissionable)() SetSharepointIds(value SharepointIdsable)() SetVersions(value []ListItemVersionable)() } diff --git a/models/local_admin_settings.go b/models/local_admin_settings.go index 9729e2ef12b..2b72b0cbb2e 100644 --- a/models/local_admin_settings.go +++ b/models/local_admin_settings.go @@ -40,7 +40,7 @@ func (m *LocalAdminSettings) GetAdditionalData()(map[string]any) { func (m *LocalAdminSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEnableGlobalAdmins gets the enableGlobalAdmins property value. The enableGlobalAdmins property +// GetEnableGlobalAdmins gets the enableGlobalAdmins property value. Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. // returns a *bool when successful func (m *LocalAdminSettings) GetEnableGlobalAdmins()(*bool) { val, err := m.GetBackingStore().Get("enableGlobalAdmins") @@ -100,7 +100,7 @@ func (m *LocalAdminSettings) GetOdataType()(*string) { } return nil } -// GetRegisteringUsers gets the registeringUsers property value. The registeringUsers property +// GetRegisteringUsers gets the registeringUsers property value. Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. // returns a DeviceRegistrationMembershipable when successful func (m *LocalAdminSettings) GetRegisteringUsers()(DeviceRegistrationMembershipable) { val, err := m.GetBackingStore().Get("registeringUsers") @@ -151,7 +151,7 @@ func (m *LocalAdminSettings) SetAdditionalData(value map[string]any)() { func (m *LocalAdminSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEnableGlobalAdmins sets the enableGlobalAdmins property value. The enableGlobalAdmins property +// SetEnableGlobalAdmins sets the enableGlobalAdmins property value. Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. func (m *LocalAdminSettings) SetEnableGlobalAdmins(value *bool)() { err := m.GetBackingStore().Set("enableGlobalAdmins", value) if err != nil { @@ -165,7 +165,7 @@ func (m *LocalAdminSettings) SetOdataType(value *string)() { panic(err) } } -// SetRegisteringUsers sets the registeringUsers property value. The registeringUsers property +// SetRegisteringUsers sets the registeringUsers property value. Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. func (m *LocalAdminSettings) SetRegisteringUsers(value DeviceRegistrationMembershipable)() { err := m.GetBackingStore().Set("registeringUsers", value) if err != nil { diff --git a/models/mailbox_protection_rule.go b/models/mailbox_protection_rule.go new file mode 100644 index 00000000000..2b254fa4c0b --- /dev/null +++ b/models/mailbox_protection_rule.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxProtectionRule struct { + ProtectionRuleBase +} +// NewMailboxProtectionRule instantiates a new MailboxProtectionRule and sets the default values. +func NewMailboxProtectionRule()(*MailboxProtectionRule) { + m := &MailboxProtectionRule{ + ProtectionRuleBase: *NewProtectionRuleBase(), + } + odataTypeValue := "#microsoft.graph.mailboxProtectionRule" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateMailboxProtectionRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxProtectionRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxProtectionRule(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxProtectionRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionRuleBase.GetFieldDeserializers() + res["mailboxExpression"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMailboxExpression(val) + } + return nil + } + return res +} +// GetMailboxExpression gets the mailboxExpression property value. Contains a mailbox expression. For examples, see mailboxExpression examples. +// returns a *string when successful +func (m *MailboxProtectionRule) GetMailboxExpression()(*string) { + val, err := m.GetBackingStore().Get("mailboxExpression") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxProtectionRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionRuleBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("mailboxExpression", m.GetMailboxExpression()) + if err != nil { + return err + } + } + return nil +} +// SetMailboxExpression sets the mailboxExpression property value. Contains a mailbox expression. For examples, see mailboxExpression examples. +func (m *MailboxProtectionRule) SetMailboxExpression(value *string)() { + err := m.GetBackingStore().Set("mailboxExpression", value) + if err != nil { + panic(err) + } +} +type MailboxProtectionRuleable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionRuleBaseable + GetMailboxExpression()(*string) + SetMailboxExpression(value *string)() +} diff --git a/models/mailbox_protection_rule_collection_response.go b/models/mailbox_protection_rule_collection_response.go new file mode 100644 index 00000000000..b447bfe3f12 --- /dev/null +++ b/models/mailbox_protection_rule_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxProtectionRuleCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMailboxProtectionRuleCollectionResponse instantiates a new MailboxProtectionRuleCollectionResponse and sets the default values. +func NewMailboxProtectionRuleCollectionResponse()(*MailboxProtectionRuleCollectionResponse) { + m := &MailboxProtectionRuleCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMailboxProtectionRuleCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxProtectionRuleCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxProtectionRuleCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxProtectionRuleCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionRuleable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []MailboxProtectionRuleable when successful +func (m *MailboxProtectionRuleCollectionResponse) GetValue()([]MailboxProtectionRuleable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionRuleable) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxProtectionRuleCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MailboxProtectionRuleCollectionResponse) SetValue(value []MailboxProtectionRuleable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type MailboxProtectionRuleCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MailboxProtectionRuleable) + SetValue(value []MailboxProtectionRuleable)() +} diff --git a/models/mailbox_protection_unit.go b/models/mailbox_protection_unit.go new file mode 100644 index 00000000000..6e28cd60e8b --- /dev/null +++ b/models/mailbox_protection_unit.go @@ -0,0 +1,140 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxProtectionUnit struct { + ProtectionUnitBase +} +// NewMailboxProtectionUnit instantiates a new MailboxProtectionUnit and sets the default values. +func NewMailboxProtectionUnit()(*MailboxProtectionUnit) { + m := &MailboxProtectionUnit{ + ProtectionUnitBase: *NewProtectionUnitBase(), + } + odataTypeValue := "#microsoft.graph.mailboxProtectionUnit" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateMailboxProtectionUnitFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxProtectionUnitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxProtectionUnit(), nil +} +// GetDirectoryObjectId gets the directoryObjectId property value. The ID of the directory object. +// returns a *string when successful +func (m *MailboxProtectionUnit) GetDirectoryObjectId()(*string) { + val, err := m.GetBackingStore().Get("directoryObjectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. Display name of the directory object. +// returns a *string when successful +func (m *MailboxProtectionUnit) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmail gets the email property value. Email address associated with the directory object. +// returns a *string when successful +func (m *MailboxProtectionUnit) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxProtectionUnit) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionUnitBase.GetFieldDeserializers() + res["directoryObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDirectoryObjectId(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *MailboxProtectionUnit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionUnitBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("directoryObjectId", m.GetDirectoryObjectId()) + if err != nil { + return err + } + } + return nil +} +// SetDirectoryObjectId sets the directoryObjectId property value. The ID of the directory object. +func (m *MailboxProtectionUnit) SetDirectoryObjectId(value *string)() { + err := m.GetBackingStore().Set("directoryObjectId", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. Display name of the directory object. +func (m *MailboxProtectionUnit) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetEmail sets the email property value. Email address associated with the directory object. +func (m *MailboxProtectionUnit) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} +type MailboxProtectionUnitable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionUnitBaseable + GetDirectoryObjectId()(*string) + GetDisplayName()(*string) + GetEmail()(*string) + SetDirectoryObjectId(value *string)() + SetDisplayName(value *string)() + SetEmail(value *string)() +} diff --git a/models/mailbox_protection_unit_collection_response.go b/models/mailbox_protection_unit_collection_response.go new file mode 100644 index 00000000000..1da73431a02 --- /dev/null +++ b/models/mailbox_protection_unit_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxProtectionUnitCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMailboxProtectionUnitCollectionResponse instantiates a new MailboxProtectionUnitCollectionResponse and sets the default values. +func NewMailboxProtectionUnitCollectionResponse()(*MailboxProtectionUnitCollectionResponse) { + m := &MailboxProtectionUnitCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMailboxProtectionUnitCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxProtectionUnitCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxProtectionUnitCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxProtectionUnitCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxProtectionUnitable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []MailboxProtectionUnitable when successful +func (m *MailboxProtectionUnitCollectionResponse) GetValue()([]MailboxProtectionUnitable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxProtectionUnitCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MailboxProtectionUnitCollectionResponse) SetValue(value []MailboxProtectionUnitable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type MailboxProtectionUnitCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MailboxProtectionUnitable) + SetValue(value []MailboxProtectionUnitable)() +} diff --git a/models/mailbox_restore_artifact.go b/models/mailbox_restore_artifact.go new file mode 100644 index 00000000000..ad36906ba3c --- /dev/null +++ b/models/mailbox_restore_artifact.go @@ -0,0 +1,107 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxRestoreArtifact struct { + RestoreArtifactBase +} +// NewMailboxRestoreArtifact instantiates a new MailboxRestoreArtifact and sets the default values. +func NewMailboxRestoreArtifact()(*MailboxRestoreArtifact) { + m := &MailboxRestoreArtifact{ + RestoreArtifactBase: *NewRestoreArtifactBase(), + } + return m +} +// CreateMailboxRestoreArtifactFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxRestoreArtifactFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxRestoreArtifact(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxRestoreArtifact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreArtifactBase.GetFieldDeserializers() + res["restoredFolderId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredFolderId(val) + } + return nil + } + res["restoredFolderName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredFolderName(val) + } + return nil + } + return res +} +// GetRestoredFolderId gets the restoredFolderId property value. The new restored folder identifier for the user. +// returns a *string when successful +func (m *MailboxRestoreArtifact) GetRestoredFolderId()(*string) { + val, err := m.GetBackingStore().Get("restoredFolderId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoredFolderName gets the restoredFolderName property value. The new restored folder name. +// returns a *string when successful +func (m *MailboxRestoreArtifact) GetRestoredFolderName()(*string) { + val, err := m.GetBackingStore().Get("restoredFolderName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxRestoreArtifact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreArtifactBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("restoredFolderId", m.GetRestoredFolderId()) + if err != nil { + return err + } + } + return nil +} +// SetRestoredFolderId sets the restoredFolderId property value. The new restored folder identifier for the user. +func (m *MailboxRestoreArtifact) SetRestoredFolderId(value *string)() { + err := m.GetBackingStore().Set("restoredFolderId", value) + if err != nil { + panic(err) + } +} +// SetRestoredFolderName sets the restoredFolderName property value. The new restored folder name. +func (m *MailboxRestoreArtifact) SetRestoredFolderName(value *string)() { + err := m.GetBackingStore().Set("restoredFolderName", value) + if err != nil { + panic(err) + } +} +type MailboxRestoreArtifactable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreArtifactBaseable + GetRestoredFolderId()(*string) + GetRestoredFolderName()(*string) + SetRestoredFolderId(value *string)() + SetRestoredFolderName(value *string)() +} diff --git a/models/mailbox_restore_artifact_collection_response.go b/models/mailbox_restore_artifact_collection_response.go new file mode 100644 index 00000000000..7b8d19ccea9 --- /dev/null +++ b/models/mailbox_restore_artifact_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailboxRestoreArtifactCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMailboxRestoreArtifactCollectionResponse instantiates a new MailboxRestoreArtifactCollectionResponse and sets the default values. +func NewMailboxRestoreArtifactCollectionResponse()(*MailboxRestoreArtifactCollectionResponse) { + m := &MailboxRestoreArtifactCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMailboxRestoreArtifactCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxRestoreArtifactCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxRestoreArtifactCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxRestoreArtifactCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailboxRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailboxRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailboxRestoreArtifactable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []MailboxRestoreArtifactable when successful +func (m *MailboxRestoreArtifactCollectionResponse) GetValue()([]MailboxRestoreArtifactable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailboxRestoreArtifactable) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxRestoreArtifactCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MailboxRestoreArtifactCollectionResponse) SetValue(value []MailboxRestoreArtifactable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type MailboxRestoreArtifactCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MailboxRestoreArtifactable) + SetValue(value []MailboxRestoreArtifactable)() +} diff --git a/models/managed_app_status_raw.go b/models/managed_app_status_raw.go index 88592b47584..374d27afdd5 100644 --- a/models/managed_app_status_raw.go +++ b/models/managed_app_status_raw.go @@ -23,14 +23,14 @@ func CreateManagedAppStatusRawFromDiscriminatorValue(parseNode i878a80d2330e89d2 return NewManagedAppStatusRaw(), nil } // GetContent gets the content property value. Status report content. -// returns a Jsonable when successful -func (m *ManagedAppStatusRaw) GetContent()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *ManagedAppStatusRaw) GetContent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("content") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -39,12 +39,12 @@ func (m *ManagedAppStatusRaw) GetContent()(Jsonable) { func (m *ManagedAppStatusRaw) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.ManagedAppStatus.GetFieldDeserializers() res["content"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetContent(val.(Jsonable)) + m.SetContent(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -65,7 +65,7 @@ func (m *ManagedAppStatusRaw) Serialize(writer i878a80d2330e89d26896388a3f487eef return nil } // SetContent sets the content property value. Status report content. -func (m *ManagedAppStatusRaw) SetContent(value Jsonable)() { +func (m *ManagedAppStatusRaw) SetContent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("content", value) if err != nil { panic(err) @@ -74,6 +74,6 @@ func (m *ManagedAppStatusRaw) SetContent(value Jsonable)() { type ManagedAppStatusRawable interface { ManagedAppStatusable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetContent()(Jsonable) - SetContent(value Jsonable)() + GetContent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetContent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/managed_device.go b/models/managed_device.go index 22e9eaebc75..3e16fc3cbd6 100644 --- a/models/managed_device.go +++ b/models/managed_device.go @@ -447,6 +447,18 @@ func (m *ManagedDevice) GetEmailAddress()(*string) { } return nil } +// GetEnrolledByUserPrincipalName gets the enrolledByUserPrincipalName property value. The Entra (Azure AD) User Principal Name (UPN) of the user responsible for the enrollment of the device. This property is read-only. +// returns a *string when successful +func (m *ManagedDevice) GetEnrolledByUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("enrolledByUserPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetEnrolledDateTime gets the enrolledDateTime property value. Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only. // returns a *Time when successful func (m *ManagedDevice) GetEnrolledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -911,6 +923,16 @@ func (m *ManagedDevice) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } + res["enrolledByUserPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEnrolledByUserPrincipalName(val) + } + return nil + } res["enrolledDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -2719,6 +2741,13 @@ func (m *ManagedDevice) SetEmailAddress(value *string)() { panic(err) } } +// SetEnrolledByUserPrincipalName sets the enrolledByUserPrincipalName property value. The Entra (Azure AD) User Principal Name (UPN) of the user responsible for the enrollment of the device. This property is read-only. +func (m *ManagedDevice) SetEnrolledByUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("enrolledByUserPrincipalName", value) + if err != nil { + panic(err) + } +} // SetEnrolledDateTime sets the enrolledDateTime property value. Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only. func (m *ManagedDevice) SetEnrolledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("enrolledDateTime", value) @@ -3169,6 +3198,7 @@ type ManagedDeviceable interface { GetEasActivationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEasDeviceId()(*string) GetEmailAddress()(*string) + GetEnrolledByUserPrincipalName()(*string) GetEnrolledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEnrollmentProfileName()(*string) GetEthernetMacAddress()(*string) @@ -3262,6 +3292,7 @@ type ManagedDeviceable interface { SetEasActivationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEasDeviceId(value *string)() SetEmailAddress(value *string)() + SetEnrolledByUserPrincipalName(value *string)() SetEnrolledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEnrollmentProfileName(value *string)() SetEthernetMacAddress(value *string)() diff --git a/models/meta_data_key_value_pair.go b/models/meta_data_key_value_pair.go index 45de297241c..047028b65ef 100644 --- a/models/meta_data_key_value_pair.go +++ b/models/meta_data_key_value_pair.go @@ -65,12 +65,12 @@ func (m *MetaDataKeyValuePair) GetFieldDeserializers()(map[string]func(i878a80d2 return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -101,14 +101,14 @@ func (m *MetaDataKeyValuePair) GetOdataType()(*string) { return nil } // GetValue gets the value property value. Value of the metadata. Should be an object. -// returns a Jsonable when successful -func (m *MetaDataKeyValuePair) GetValue()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *MetaDataKeyValuePair) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -166,7 +166,7 @@ func (m *MetaDataKeyValuePair) SetOdataType(value *string)() { } } // SetValue sets the value property value. Value of the metadata. Should be an object. -func (m *MetaDataKeyValuePair) SetValue(value Jsonable)() { +func (m *MetaDataKeyValuePair) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -179,9 +179,9 @@ type MetaDataKeyValuePairable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetKey()(*string) GetOdataType()(*string) - GetValue()(Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetKey(value *string)() SetOdataType(value *string)() - SetValue(value Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/microsoft_tunnel_deployment_mode.go b/models/microsoft_tunnel_deployment_mode.go new file mode 100644 index 00000000000..7f07b05fe45 --- /dev/null +++ b/models/microsoft_tunnel_deployment_mode.go @@ -0,0 +1,48 @@ +package models +// The available deployment modes for a managed Tunnel server. The deployment mode is determined during the deployment depending on the Tunnel containers, namely standalone or as part of a pod, and whether the containers are running in rootful or rootless mode. +type MicrosoftTunnelDeploymentMode int + +const ( + // Default. Indicates that the Tunnel containers are deployed standalone and in rootful mode. + STANDALONEROOTFUL_MICROSOFTTUNNELDEPLOYMENTMODE MicrosoftTunnelDeploymentMode = iota + // Indicates that the Tunnel containers are deployed standalone and in rootless mode. + STANDALONEROOTLESS_MICROSOFTTUNNELDEPLOYMENTMODE + // Indicates that the Tunnel containers are deployed as part of a pod and in rootful mode. + PODROOTFUL_MICROSOFTTUNNELDEPLOYMENTMODE + // Indicates that the Tunnel containers are deployed as part of a pod and in rootless mode. + PODROOTLESS_MICROSOFTTUNNELDEPLOYMENTMODE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_MICROSOFTTUNNELDEPLOYMENTMODE +) + +func (i MicrosoftTunnelDeploymentMode) String() string { + return []string{"standaloneRootful", "standaloneRootless", "podRootful", "podRootless", "unknownFutureValue"}[i] +} +func ParseMicrosoftTunnelDeploymentMode(v string) (any, error) { + result := STANDALONEROOTFUL_MICROSOFTTUNNELDEPLOYMENTMODE + switch v { + case "standaloneRootful": + result = STANDALONEROOTFUL_MICROSOFTTUNNELDEPLOYMENTMODE + case "standaloneRootless": + result = STANDALONEROOTLESS_MICROSOFTTUNNELDEPLOYMENTMODE + case "podRootful": + result = PODROOTFUL_MICROSOFTTUNNELDEPLOYMENTMODE + case "podRootless": + result = PODROOTLESS_MICROSOFTTUNNELDEPLOYMENTMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MICROSOFTTUNNELDEPLOYMENTMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeMicrosoftTunnelDeploymentMode(values []MicrosoftTunnelDeploymentMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MicrosoftTunnelDeploymentMode) isMultiValue() bool { + return false +} diff --git a/models/microsoft_tunnel_server.go b/models/microsoft_tunnel_server.go index d6cc1d14ee8..8e7d46ab47a 100644 --- a/models/microsoft_tunnel_server.go +++ b/models/microsoft_tunnel_server.go @@ -33,6 +33,18 @@ func (m *MicrosoftTunnelServer) GetAgentImageDigest()(*string) { } return nil } +// GetDeploymentMode gets the deploymentMode property value. Microsoft Tunnel server deployment mode. The value is set when the server is registered. Possible values are standaloneRootful, standaloneRootless, podRootful, podRootless. Default value: standaloneRootful. Supports: $filter, $select, $top, $skip, $orderby. $search is not supported. Read-only. +// returns a *MicrosoftTunnelDeploymentMode when successful +func (m *MicrosoftTunnelServer) GetDeploymentMode()(*MicrosoftTunnelDeploymentMode) { + val, err := m.GetBackingStore().Get("deploymentMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MicrosoftTunnelDeploymentMode) + } + return nil +} // GetDisplayName gets the displayName property value. The display name for the server. This property is required when a server is created and cannot be cleared during updates. // returns a *string when successful func (m *MicrosoftTunnelServer) GetDisplayName()(*string) { @@ -59,6 +71,16 @@ func (m *MicrosoftTunnelServer) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["deploymentMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMicrosoftTunnelDeploymentMode) + if err != nil { + return err + } + if val != nil { + m.SetDeploymentMode(val.(*MicrosoftTunnelDeploymentMode)) + } + return nil + } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -149,6 +171,13 @@ func (m *MicrosoftTunnelServer) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetDeploymentMode() != nil { + cast := (*m.GetDeploymentMode()).String() + err = writer.WriteStringValue("deploymentMode", &cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { @@ -183,6 +212,13 @@ func (m *MicrosoftTunnelServer) SetAgentImageDigest(value *string)() { panic(err) } } +// SetDeploymentMode sets the deploymentMode property value. Microsoft Tunnel server deployment mode. The value is set when the server is registered. Possible values are standaloneRootful, standaloneRootless, podRootful, podRootless. Default value: standaloneRootful. Supports: $filter, $select, $top, $skip, $orderby. $search is not supported. Read-only. +func (m *MicrosoftTunnelServer) SetDeploymentMode(value *MicrosoftTunnelDeploymentMode)() { + err := m.GetBackingStore().Set("deploymentMode", value) + if err != nil { + panic(err) + } +} // SetDisplayName sets the displayName property value. The display name for the server. This property is required when a server is created and cannot be cleared during updates. func (m *MicrosoftTunnelServer) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -215,11 +251,13 @@ type MicrosoftTunnelServerable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAgentImageDigest()(*string) + GetDeploymentMode()(*MicrosoftTunnelDeploymentMode) GetDisplayName()(*string) GetLastCheckinDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetServerImageDigest()(*string) GetTunnelServerHealthStatus()(*MicrosoftTunnelServerHealthStatus) SetAgentImageDigest(value *string)() + SetDeploymentMode(value *MicrosoftTunnelDeploymentMode)() SetDisplayName(value *string)() SetLastCheckinDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetServerImageDigest(value *string)() diff --git a/models/mobile_app.go b/models/mobile_app.go index 8e1ccc1f51c..9d4b6d04b34 100644 --- a/models/mobile_app.go +++ b/models/mobile_app.go @@ -141,7 +141,7 @@ func (m *MobileApp) GetCategories()([]MobileAppCategoryable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. // returns a *Time when successful func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -153,7 +153,7 @@ func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f30 } return nil } -// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. +// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. // returns a *int32 when successful func (m *MobileApp) GetDependentAppCount()(*int32) { val, err := m.GetBackingStore().Get("dependentAppCount") @@ -463,7 +463,7 @@ func (m *MobileApp) GetInformationUrl()(*string) { } return nil } -// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. +// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. // returns a *bool when successful func (m *MobileApp) GetIsAssigned()(*bool) { val, err := m.GetBackingStore().Get("isAssigned") @@ -499,7 +499,7 @@ func (m *MobileApp) GetLargeIcon()(MimeContentable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. // returns a *Time when successful func (m *MobileApp) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -571,7 +571,7 @@ func (m *MobileApp) GetPublishingState()(*MobileAppPublishingState) { } return nil } -// GetRelationships gets the relationships property value. The set of direct relationships for this app. +// GetRelationships gets the relationships property value. List of relationships for this mobile app. // returns a []MobileAppRelationshipable when successful func (m *MobileApp) GetRelationships()([]MobileAppRelationshipable) { val, err := m.GetBackingStore().Get("relationships") @@ -619,7 +619,7 @@ func (m *MobileApp) GetSupersedingAppCount()(*int32) { } return nil } -// GetUploadState gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. +// GetUploadState gets the uploadState property value. The upload state. // returns a *int32 when successful func (m *MobileApp) GetUploadState()(*int32) { val, err := m.GetBackingStore().Get("uploadState") @@ -762,14 +762,14 @@ func (m *MobileApp) SetCategories(value []MobileAppCategoryable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. func (m *MobileApp) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. +// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. func (m *MobileApp) SetDependentAppCount(value *int32)() { err := m.GetBackingStore().Set("dependentAppCount", value) if err != nil { @@ -804,7 +804,7 @@ func (m *MobileApp) SetInformationUrl(value *string)() { panic(err) } } -// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. +// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. func (m *MobileApp) SetIsAssigned(value *bool)() { err := m.GetBackingStore().Set("isAssigned", value) if err != nil { @@ -825,7 +825,7 @@ func (m *MobileApp) SetLargeIcon(value MimeContentable)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. func (m *MobileApp) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { @@ -867,7 +867,7 @@ func (m *MobileApp) SetPublishingState(value *MobileAppPublishingState)() { panic(err) } } -// SetRelationships sets the relationships property value. The set of direct relationships for this app. +// SetRelationships sets the relationships property value. List of relationships for this mobile app. func (m *MobileApp) SetRelationships(value []MobileAppRelationshipable)() { err := m.GetBackingStore().Set("relationships", value) if err != nil { @@ -895,7 +895,7 @@ func (m *MobileApp) SetSupersedingAppCount(value *int32)() { panic(err) } } -// SetUploadState sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. +// SetUploadState sets the uploadState property value. The upload state. func (m *MobileApp) SetUploadState(value *int32)() { err := m.GetBackingStore().Set("uploadState", value) if err != nil { diff --git a/models/mobile_app_troubleshooting_event.go b/models/mobile_app_troubleshooting_event.go index d7f4a34e5ae..df58bebcc6b 100644 --- a/models/mobile_app_troubleshooting_event.go +++ b/models/mobile_app_troubleshooting_event.go @@ -32,7 +32,7 @@ func (m *MobileAppTroubleshootingEvent) GetApplicationId()(*string) { } return nil } -// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. +// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. // returns a []AppLogCollectionRequestable when successful func (m *MobileAppTroubleshootingEvent) GetAppLogCollectionRequests()([]AppLogCollectionRequestable) { val, err := m.GetBackingStore().Get("appLogCollectionRequests") @@ -233,7 +233,7 @@ func (m *MobileAppTroubleshootingEvent) SetApplicationId(value *string)() { panic(err) } } -// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. +// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. func (m *MobileAppTroubleshootingEvent) SetAppLogCollectionRequests(value []AppLogCollectionRequestable)() { err := m.GetBackingStore().Set("appLogCollectionRequests", value) if err != nil { diff --git a/models/networkaccess/internet_access_forwarding_rule.go b/models/networkaccess/internet_access_forwarding_rule.go index cc59a556cce..de5166f70a2 100644 --- a/models/networkaccess/internet_access_forwarding_rule.go +++ b/models/networkaccess/internet_access_forwarding_rule.go @@ -25,17 +25,98 @@ func CreateInternetAccessForwardingRuleFromDiscriminatorValue(parseNode i878a80d // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *InternetAccessForwardingRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.ForwardingRule.GetFieldDeserializers() + res["ports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetPorts(res) + } + return nil + } + res["protocol"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseNetworkingProtocol) + if err != nil { + return err + } + if val != nil { + m.SetProtocol(val.(*NetworkingProtocol)) + } + return nil + } return res } +// GetPorts gets the ports property value. The ports property +// returns a []string when successful +func (m *InternetAccessForwardingRule) GetPorts()([]string) { + val, err := m.GetBackingStore().Get("ports") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetProtocol gets the protocol property value. The protocol property +// returns a *NetworkingProtocol when successful +func (m *InternetAccessForwardingRule) GetProtocol()(*NetworkingProtocol) { + val, err := m.GetBackingStore().Get("protocol") + if err != nil { + panic(err) + } + if val != nil { + return val.(*NetworkingProtocol) + } + return nil +} // Serialize serializes information the current object func (m *InternetAccessForwardingRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.ForwardingRule.Serialize(writer) if err != nil { return err } + if m.GetPorts() != nil { + err = writer.WriteCollectionOfStringValues("ports", m.GetPorts()) + if err != nil { + return err + } + } + if m.GetProtocol() != nil { + cast := (*m.GetProtocol()).String() + err = writer.WriteStringValue("protocol", &cast) + if err != nil { + return err + } + } return nil } +// SetPorts sets the ports property value. The ports property +func (m *InternetAccessForwardingRule) SetPorts(value []string)() { + err := m.GetBackingStore().Set("ports", value) + if err != nil { + panic(err) + } +} +// SetProtocol sets the protocol property value. The protocol property +func (m *InternetAccessForwardingRule) SetProtocol(value *NetworkingProtocol)() { + err := m.GetBackingStore().Set("protocol", value) + if err != nil { + panic(err) + } +} type InternetAccessForwardingRuleable interface { ForwardingRuleable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPorts()([]string) + GetProtocol()(*NetworkingProtocol) + SetPorts(value []string)() + SetProtocol(value *NetworkingProtocol)() } diff --git a/models/networkaccess/malware_category.go b/models/networkaccess/malware_category.go new file mode 100644 index 00000000000..1e937236992 --- /dev/null +++ b/models/networkaccess/malware_category.go @@ -0,0 +1,150 @@ +package networkaccess +type MalwareCategory int + +const ( + ADWARE_MALWARECATEGORY MalwareCategory = iota + BACKDOOR_MALWARECATEGORY + BEHAVIOR_MALWARECATEGORY + BOT_MALWARECATEGORY + BROWSERMODIFIER_MALWARECATEGORY + CONSTRUCTOR_MALWARECATEGORY + CRYPTOJACKING_MALWARECATEGORY + DDOS_MALWARECATEGORY + DROPPER_MALWARECATEGORY + DROPPERMALWARE_MALWARECATEGORY + EXPLOIT_MALWARECATEGORY + FILELESSMALWARE_MALWARECATEGORY + HACKTOOL_MALWARECATEGORY + HYBRIDMALWARE_MALWARECATEGORY + JOKE_MALWARECATEGORY + KEYLOGGER_MALWARECATEGORY + MISLEADING_MALWARECATEGORY + MONITORINGTOOL_MALWARECATEGORY + POLYMORPHICMALWARE_MALWARECATEGORY + PASSWORDSTEALER_MALWARECATEGORY + PROGRAM_MALWARECATEGORY + RANSOMWARE_MALWARECATEGORY + REMOTEACCESS_MALWARECATEGORY + ROGUE_MALWARECATEGORY + ROOTKIT_MALWARECATEGORY + SETTINGSMODIFIER_MALWARECATEGORY + SOFTWAREBUNDLER_MALWARECATEGORY + SPAMMER_MALWARECATEGORY + SPOOFER_MALWARECATEGORY + SPYWARE_MALWARECATEGORY + TOOL_MALWARECATEGORY + TROJAN_MALWARECATEGORY + TROJANCLICKER_MALWARECATEGORY + TROJANDOWNLOADER_MALWARECATEGORY + TROJANNOTIFIER_MALWARECATEGORY + TROJANPROXY_MALWARECATEGORY + TROJANSPY_MALWARECATEGORY + VIRUS_MALWARECATEGORY + WIPERMALWARE_MALWARECATEGORY + WORM_MALWARECATEGORY + UNKNOWNFUTUREVALUE_MALWARECATEGORY +) + +func (i MalwareCategory) String() string { + return []string{"adware", "backdoor", "behavior", "bot", "browserModifier", "constructor", "cryptojacking", "ddos", "dropper", "dropperMalware", "exploit", "filelessMalware", "hackTool", "hybridMalware", "joke", "keylogger", "misleading", "monitoringTool", "polymorphicMalware", "passwordStealer", "program", "ransomware", "remoteAccess", "rogue", "rootkit", "settingsModifier", "softwareBundler", "spammer", "spoofer", "spyware", "tool", "trojan", "trojanClicker", "trojanDownloader", "trojanNotifier", "trojanProxy", "trojanSpy", "virus", "wiperMalware", "worm", "unknownFutureValue"}[i] +} +func ParseMalwareCategory(v string) (any, error) { + result := ADWARE_MALWARECATEGORY + switch v { + case "adware": + result = ADWARE_MALWARECATEGORY + case "backdoor": + result = BACKDOOR_MALWARECATEGORY + case "behavior": + result = BEHAVIOR_MALWARECATEGORY + case "bot": + result = BOT_MALWARECATEGORY + case "browserModifier": + result = BROWSERMODIFIER_MALWARECATEGORY + case "constructor": + result = CONSTRUCTOR_MALWARECATEGORY + case "cryptojacking": + result = CRYPTOJACKING_MALWARECATEGORY + case "ddos": + result = DDOS_MALWARECATEGORY + case "dropper": + result = DROPPER_MALWARECATEGORY + case "dropperMalware": + result = DROPPERMALWARE_MALWARECATEGORY + case "exploit": + result = EXPLOIT_MALWARECATEGORY + case "filelessMalware": + result = FILELESSMALWARE_MALWARECATEGORY + case "hackTool": + result = HACKTOOL_MALWARECATEGORY + case "hybridMalware": + result = HYBRIDMALWARE_MALWARECATEGORY + case "joke": + result = JOKE_MALWARECATEGORY + case "keylogger": + result = KEYLOGGER_MALWARECATEGORY + case "misleading": + result = MISLEADING_MALWARECATEGORY + case "monitoringTool": + result = MONITORINGTOOL_MALWARECATEGORY + case "polymorphicMalware": + result = POLYMORPHICMALWARE_MALWARECATEGORY + case "passwordStealer": + result = PASSWORDSTEALER_MALWARECATEGORY + case "program": + result = PROGRAM_MALWARECATEGORY + case "ransomware": + result = RANSOMWARE_MALWARECATEGORY + case "remoteAccess": + result = REMOTEACCESS_MALWARECATEGORY + case "rogue": + result = ROGUE_MALWARECATEGORY + case "rootkit": + result = ROOTKIT_MALWARECATEGORY + case "settingsModifier": + result = SETTINGSMODIFIER_MALWARECATEGORY + case "softwareBundler": + result = SOFTWAREBUNDLER_MALWARECATEGORY + case "spammer": + result = SPAMMER_MALWARECATEGORY + case "spoofer": + result = SPOOFER_MALWARECATEGORY + case "spyware": + result = SPYWARE_MALWARECATEGORY + case "tool": + result = TOOL_MALWARECATEGORY + case "trojan": + result = TROJAN_MALWARECATEGORY + case "trojanClicker": + result = TROJANCLICKER_MALWARECATEGORY + case "trojanDownloader": + result = TROJANDOWNLOADER_MALWARECATEGORY + case "trojanNotifier": + result = TROJANNOTIFIER_MALWARECATEGORY + case "trojanProxy": + result = TROJANPROXY_MALWARECATEGORY + case "trojanSpy": + result = TROJANSPY_MALWARECATEGORY + case "virus": + result = VIRUS_MALWARECATEGORY + case "wiperMalware": + result = WIPERMALWARE_MALWARECATEGORY + case "worm": + result = WORM_MALWARECATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MALWARECATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeMalwareCategory(values []MalwareCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MalwareCategory) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/related_malware.go b/models/networkaccess/related_malware.go index 9ae5172c677..a48abe456dd 100644 --- a/models/networkaccess/related_malware.go +++ b/models/networkaccess/related_malware.go @@ -21,10 +21,32 @@ func NewRelatedMalware()(*RelatedMalware) { func CreateRelatedMalwareFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRelatedMalware(), nil } +// GetCategory gets the category property value. The category property +// returns a *MalwareCategory when successful +func (m *RelatedMalware) GetCategory()(*MalwareCategory) { + val, err := m.GetBackingStore().Get("category") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MalwareCategory) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *RelatedMalware) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.RelatedResource.GetFieldDeserializers() + res["category"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMalwareCategory) + if err != nil { + return err + } + if val != nil { + m.SetCategory(val.(*MalwareCategory)) + } + return nil + } res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -55,6 +77,13 @@ func (m *RelatedMalware) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a if err != nil { return err } + if m.GetCategory() != nil { + cast := (*m.GetCategory()).String() + err = writer.WriteStringValue("category", &cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("name", m.GetName()) if err != nil { @@ -63,6 +92,13 @@ func (m *RelatedMalware) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } +// SetCategory sets the category property value. The category property +func (m *RelatedMalware) SetCategory(value *MalwareCategory)() { + err := m.GetBackingStore().Set("category", value) + if err != nil { + panic(err) + } +} // SetName sets the name property value. The name property func (m *RelatedMalware) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) @@ -73,6 +109,8 @@ func (m *RelatedMalware) SetName(value *string)() { type RelatedMalwareable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable RelatedResourceable + GetCategory()(*MalwareCategory) GetName()(*string) + SetCategory(value *MalwareCategory)() SetName(value *string)() } diff --git a/models/networkaccess/related_resource.go b/models/networkaccess/related_resource.go index 6ec1545c266..4a95e8f4ad3 100644 --- a/models/networkaccess/related_resource.go +++ b/models/networkaccess/related_resource.go @@ -46,6 +46,10 @@ func CreateRelatedResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewRelatedTenant(), nil case "#microsoft.graph.networkaccess.relatedThreatIntelligence": return NewRelatedThreatIntelligence(), nil + case "#microsoft.graph.networkaccess.relatedToken": + return NewRelatedToken(), nil + case "#microsoft.graph.networkaccess.relatedUser": + return NewRelatedUser(), nil case "#microsoft.graph.networkaccess.relatedWebCategory": return NewRelatedWebCategory(), nil } diff --git a/models/networkaccess/related_token.go b/models/networkaccess/related_token.go new file mode 100644 index 00000000000..70e5423a95f --- /dev/null +++ b/models/networkaccess/related_token.go @@ -0,0 +1,78 @@ +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RelatedToken struct { + RelatedResource +} +// NewRelatedToken instantiates a new RelatedToken and sets the default values. +func NewRelatedToken()(*RelatedToken) { + m := &RelatedToken{ + RelatedResource: *NewRelatedResource(), + } + odataTypeValue := "#microsoft.graph.networkaccess.relatedToken" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRelatedTokenFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRelatedTokenFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRelatedToken(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RelatedToken) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RelatedResource.GetFieldDeserializers() + res["uniqueTokenIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUniqueTokenIdentifier(val) + } + return nil + } + return res +} +// GetUniqueTokenIdentifier gets the uniqueTokenIdentifier property value. The uniqueTokenIdentifier property +// returns a *string when successful +func (m *RelatedToken) GetUniqueTokenIdentifier()(*string) { + val, err := m.GetBackingStore().Get("uniqueTokenIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *RelatedToken) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RelatedResource.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("uniqueTokenIdentifier", m.GetUniqueTokenIdentifier()) + if err != nil { + return err + } + } + return nil +} +// SetUniqueTokenIdentifier sets the uniqueTokenIdentifier property value. The uniqueTokenIdentifier property +func (m *RelatedToken) SetUniqueTokenIdentifier(value *string)() { + err := m.GetBackingStore().Set("uniqueTokenIdentifier", value) + if err != nil { + panic(err) + } +} +type RelatedTokenable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RelatedResourceable + GetUniqueTokenIdentifier()(*string) + SetUniqueTokenIdentifier(value *string)() +} diff --git a/models/networkaccess/related_user.go b/models/networkaccess/related_user.go new file mode 100644 index 00000000000..7e8b71690ad --- /dev/null +++ b/models/networkaccess/related_user.go @@ -0,0 +1,115 @@ +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RelatedUser struct { + RelatedResource +} +// NewRelatedUser instantiates a new RelatedUser and sets the default values. +func NewRelatedUser()(*RelatedUser) { + m := &RelatedUser{ + RelatedResource: *NewRelatedResource(), + } + odataTypeValue := "#microsoft.graph.networkaccess.relatedUser" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRelatedUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRelatedUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRelatedUser(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RelatedUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RelatedResource.GetFieldDeserializers() + res["userId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserId(val) + } + return nil + } + res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserPrincipalName(val) + } + return nil + } + return res +} +// GetUserId gets the userId property value. The userId property +// returns a *string when successful +func (m *RelatedUser) GetUserId()(*string) { + val, err := m.GetBackingStore().Get("userId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserPrincipalName gets the userPrincipalName property value. The userPrincipalName property +// returns a *string when successful +func (m *RelatedUser) GetUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("userPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *RelatedUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RelatedResource.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("userId", m.GetUserId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) + if err != nil { + return err + } + } + return nil +} +// SetUserId sets the userId property value. The userId property +func (m *RelatedUser) SetUserId(value *string)() { + err := m.GetBackingStore().Set("userId", value) + if err != nil { + panic(err) + } +} +// SetUserPrincipalName sets the userPrincipalName property value. The userPrincipalName property +func (m *RelatedUser) SetUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("userPrincipalName", value) + if err != nil { + panic(err) + } +} +type RelatedUserable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RelatedResourceable + GetUserId()(*string) + GetUserPrincipalName()(*string) + SetUserId(value *string)() + SetUserPrincipalName(value *string)() +} diff --git a/models/one_drive_for_business_protection_policy.go b/models/one_drive_for_business_protection_policy.go new file mode 100644 index 00000000000..378f3bc7f4e --- /dev/null +++ b/models/one_drive_for_business_protection_policy.go @@ -0,0 +1,139 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OneDriveForBusinessProtectionPolicy struct { + ProtectionPolicyBase +} +// NewOneDriveForBusinessProtectionPolicy instantiates a new OneDriveForBusinessProtectionPolicy and sets the default values. +func NewOneDriveForBusinessProtectionPolicy()(*OneDriveForBusinessProtectionPolicy) { + m := &OneDriveForBusinessProtectionPolicy{ + ProtectionPolicyBase: *NewProtectionPolicyBase(), + } + odataTypeValue := "#microsoft.graph.oneDriveForBusinessProtectionPolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOneDriveForBusinessProtectionPolicy(), nil +} +// GetDriveInclusionRules gets the driveInclusionRules property value. Contains the details of the Onedrive for Business protection rule. +// returns a []DriveProtectionRuleable when successful +func (m *OneDriveForBusinessProtectionPolicy) GetDriveInclusionRules()([]DriveProtectionRuleable) { + val, err := m.GetBackingStore().Get("driveInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionRuleable) + } + return nil +} +// GetDriveProtectionUnits gets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Business protection policy. +// returns a []DriveProtectionUnitable when successful +func (m *OneDriveForBusinessProtectionPolicy) GetDriveProtectionUnits()([]DriveProtectionUnitable) { + val, err := m.GetBackingStore().Get("driveProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveProtectionUnitable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OneDriveForBusinessProtectionPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionPolicyBase.GetFieldDeserializers() + res["driveInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionRuleable) + } + } + m.SetDriveInclusionRules(res) + } + return nil + } + res["driveProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveProtectionUnitable) + } + } + m.SetDriveProtectionUnits(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *OneDriveForBusinessProtectionPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionPolicyBase.Serialize(writer) + if err != nil { + return err + } + if m.GetDriveInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDriveInclusionRules())) + for i, v := range m.GetDriveInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("driveInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetDriveProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDriveProtectionUnits())) + for i, v := range m.GetDriveProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("driveProtectionUnits", cast) + if err != nil { + return err + } + } + return nil +} +// SetDriveInclusionRules sets the driveInclusionRules property value. Contains the details of the Onedrive for Business protection rule. +func (m *OneDriveForBusinessProtectionPolicy) SetDriveInclusionRules(value []DriveProtectionRuleable)() { + err := m.GetBackingStore().Set("driveInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetDriveProtectionUnits sets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Business protection policy. +func (m *OneDriveForBusinessProtectionPolicy) SetDriveProtectionUnits(value []DriveProtectionUnitable)() { + err := m.GetBackingStore().Set("driveProtectionUnits", value) + if err != nil { + panic(err) + } +} +type OneDriveForBusinessProtectionPolicyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionPolicyBaseable + GetDriveInclusionRules()([]DriveProtectionRuleable) + GetDriveProtectionUnits()([]DriveProtectionUnitable) + SetDriveInclusionRules(value []DriveProtectionRuleable)() + SetDriveProtectionUnits(value []DriveProtectionUnitable)() +} diff --git a/models/one_drive_for_business_protection_policy_collection_response.go b/models/one_drive_for_business_protection_policy_collection_response.go new file mode 100644 index 00000000000..2d70198c04f --- /dev/null +++ b/models/one_drive_for_business_protection_policy_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OneDriveForBusinessProtectionPolicyCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewOneDriveForBusinessProtectionPolicyCollectionResponse instantiates a new OneDriveForBusinessProtectionPolicyCollectionResponse and sets the default values. +func NewOneDriveForBusinessProtectionPolicyCollectionResponse()(*OneDriveForBusinessProtectionPolicyCollectionResponse) { + m := &OneDriveForBusinessProtectionPolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateOneDriveForBusinessProtectionPolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOneDriveForBusinessProtectionPolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOneDriveForBusinessProtectionPolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OneDriveForBusinessProtectionPolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OneDriveForBusinessProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OneDriveForBusinessProtectionPolicyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []OneDriveForBusinessProtectionPolicyable when successful +func (m *OneDriveForBusinessProtectionPolicyCollectionResponse) GetValue()([]OneDriveForBusinessProtectionPolicyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OneDriveForBusinessProtectionPolicyable) + } + return nil +} +// Serialize serializes information the current object +func (m *OneDriveForBusinessProtectionPolicyCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *OneDriveForBusinessProtectionPolicyCollectionResponse) SetValue(value []OneDriveForBusinessProtectionPolicyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type OneDriveForBusinessProtectionPolicyCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]OneDriveForBusinessProtectionPolicyable) + SetValue(value []OneDriveForBusinessProtectionPolicyable)() +} diff --git a/models/one_drive_for_business_restore_session.go b/models/one_drive_for_business_restore_session.go new file mode 100644 index 00000000000..66d62f973ff --- /dev/null +++ b/models/one_drive_for_business_restore_session.go @@ -0,0 +1,90 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OneDriveForBusinessRestoreSession struct { + RestoreSessionBase +} +// NewOneDriveForBusinessRestoreSession instantiates a new OneDriveForBusinessRestoreSession and sets the default values. +func NewOneDriveForBusinessRestoreSession()(*OneDriveForBusinessRestoreSession) { + m := &OneDriveForBusinessRestoreSession{ + RestoreSessionBase: *NewRestoreSessionBase(), + } + odataTypeValue := "#microsoft.graph.oneDriveForBusinessRestoreSession" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOneDriveForBusinessRestoreSession(), nil +} +// GetDriveRestoreArtifacts gets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// returns a []DriveRestoreArtifactable when successful +func (m *OneDriveForBusinessRestoreSession) GetDriveRestoreArtifacts()([]DriveRestoreArtifactable) { + val, err := m.GetBackingStore().Get("driveRestoreArtifacts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DriveRestoreArtifactable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OneDriveForBusinessRestoreSession) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreSessionBase.GetFieldDeserializers() + res["driveRestoreArtifacts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDriveRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DriveRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DriveRestoreArtifactable) + } + } + m.SetDriveRestoreArtifacts(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *OneDriveForBusinessRestoreSession) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreSessionBase.Serialize(writer) + if err != nil { + return err + } + if m.GetDriveRestoreArtifacts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDriveRestoreArtifacts())) + for i, v := range m.GetDriveRestoreArtifacts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("driveRestoreArtifacts", cast) + if err != nil { + return err + } + } + return nil +} +// SetDriveRestoreArtifacts sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +func (m *OneDriveForBusinessRestoreSession) SetDriveRestoreArtifacts(value []DriveRestoreArtifactable)() { + err := m.GetBackingStore().Set("driveRestoreArtifacts", value) + if err != nil { + panic(err) + } +} +type OneDriveForBusinessRestoreSessionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreSessionBaseable + GetDriveRestoreArtifacts()([]DriveRestoreArtifactable) + SetDriveRestoreArtifacts(value []DriveRestoreArtifactable)() +} diff --git a/models/one_drive_for_business_restore_session_collection_response.go b/models/one_drive_for_business_restore_session_collection_response.go new file mode 100644 index 00000000000..8c0bee6091a --- /dev/null +++ b/models/one_drive_for_business_restore_session_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OneDriveForBusinessRestoreSessionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewOneDriveForBusinessRestoreSessionCollectionResponse instantiates a new OneDriveForBusinessRestoreSessionCollectionResponse and sets the default values. +func NewOneDriveForBusinessRestoreSessionCollectionResponse()(*OneDriveForBusinessRestoreSessionCollectionResponse) { + m := &OneDriveForBusinessRestoreSessionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateOneDriveForBusinessRestoreSessionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOneDriveForBusinessRestoreSessionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOneDriveForBusinessRestoreSessionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OneDriveForBusinessRestoreSessionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OneDriveForBusinessRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OneDriveForBusinessRestoreSessionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []OneDriveForBusinessRestoreSessionable when successful +func (m *OneDriveForBusinessRestoreSessionCollectionResponse) GetValue()([]OneDriveForBusinessRestoreSessionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OneDriveForBusinessRestoreSessionable) + } + return nil +} +// Serialize serializes information the current object +func (m *OneDriveForBusinessRestoreSessionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *OneDriveForBusinessRestoreSessionCollectionResponse) SetValue(value []OneDriveForBusinessRestoreSessionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type OneDriveForBusinessRestoreSessionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]OneDriveForBusinessRestoreSessionable) + SetValue(value []OneDriveForBusinessRestoreSessionable)() +} diff --git a/models/online_meeting_base.go b/models/online_meeting_base.go index c8df20cc75e..76ec4f31b78 100644 --- a/models/online_meeting_base.go +++ b/models/online_meeting_base.go @@ -63,6 +63,18 @@ func (m *OnlineMeetingBase) GetAllowAttendeeToEnableMic()(*bool) { } return nil } +// GetAllowBreakoutRooms gets the allowBreakoutRooms property value. The allowBreakoutRooms property +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowBreakoutRooms()(*bool) { + val, err := m.GetBackingStore().Get("allowBreakoutRooms") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAllowedPresenters gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. // returns a *OnlineMeetingPresenters when successful func (m *OnlineMeetingBase) GetAllowedPresenters()(*OnlineMeetingPresenters) { @@ -75,6 +87,18 @@ func (m *OnlineMeetingBase) GetAllowedPresenters()(*OnlineMeetingPresenters) { } return nil } +// GetAllowLiveShare gets the allowLiveShare property value. The allowLiveShare property +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowLiveShare()(*bool) { + val, err := m.GetBackingStore().Get("allowLiveShare") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAllowMeetingChat gets the allowMeetingChat property value. Specifies the mode of meeting chat. // returns a *MeetingChatMode when successful func (m *OnlineMeetingBase) GetAllowMeetingChat()(*MeetingChatMode) { @@ -99,6 +123,18 @@ func (m *OnlineMeetingBase) GetAllowParticipantsToChangeName()(*bool) { } return nil } +// GetAllowPowerPointSharing gets the allowPowerPointSharing property value. The allowPowerPointSharing property +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowPowerPointSharing()(*bool) { + val, err := m.GetBackingStore().Get("allowPowerPointSharing") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAllowRecording gets the allowRecording property value. Indicates whether recording is enabled for the meeting. // returns a *bool when successful func (m *OnlineMeetingBase) GetAllowRecording()(*bool) { @@ -135,6 +171,18 @@ func (m *OnlineMeetingBase) GetAllowTranscription()(*bool) { } return nil } +// GetAllowWhiteboard gets the allowWhiteboard property value. The allowWhiteboard property +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowWhiteboard()(*bool) { + val, err := m.GetBackingStore().Get("allowWhiteboard") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAnonymizeIdentityForRoles gets the anonymizeIdentityForRoles property value. Specifies whose identity is anonymized in the meeting. Possible values are: attendee. The attendee value can't be removed through a PATCH operation once added. // returns a []OnlineMeetingRole when successful func (m *OnlineMeetingBase) GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) { @@ -219,6 +267,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowBreakoutRooms"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowBreakoutRooms(val) + } + return nil + } res["allowedPresenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseOnlineMeetingPresenters) if err != nil { @@ -229,6 +287,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowLiveShare"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowLiveShare(val) + } + return nil + } res["allowMeetingChat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseMeetingChatMode) if err != nil { @@ -249,6 +317,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowPowerPointSharing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowPowerPointSharing(val) + } + return nil + } res["allowRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -279,6 +357,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowWhiteboard"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowWhiteboard(val) + } + return nil + } res["anonymizeIdentityForRoles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfEnumValues(ParseOnlineMeetingRole) if err != nil { @@ -603,6 +691,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowBreakoutRooms", m.GetAllowBreakoutRooms()) + if err != nil { + return err + } + } if m.GetAllowedPresenters() != nil { cast := (*m.GetAllowedPresenters()).String() err = writer.WriteStringValue("allowedPresenters", &cast) @@ -610,6 +704,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowLiveShare", m.GetAllowLiveShare()) + if err != nil { + return err + } + } if m.GetAllowMeetingChat() != nil { cast := (*m.GetAllowMeetingChat()).String() err = writer.WriteStringValue("allowMeetingChat", &cast) @@ -623,6 +723,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowPowerPointSharing", m.GetAllowPowerPointSharing()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("allowRecording", m.GetAllowRecording()) if err != nil { @@ -641,6 +747,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowWhiteboard", m.GetAllowWhiteboard()) + if err != nil { + return err + } + } if m.GetAnonymizeIdentityForRoles() != nil { err = writer.WriteCollectionOfStringValues("anonymizeIdentityForRoles", SerializeOnlineMeetingRole(m.GetAnonymizeIdentityForRoles())) if err != nil { @@ -760,6 +872,13 @@ func (m *OnlineMeetingBase) SetAllowAttendeeToEnableMic(value *bool)() { panic(err) } } +// SetAllowBreakoutRooms sets the allowBreakoutRooms property value. The allowBreakoutRooms property +func (m *OnlineMeetingBase) SetAllowBreakoutRooms(value *bool)() { + err := m.GetBackingStore().Set("allowBreakoutRooms", value) + if err != nil { + panic(err) + } +} // SetAllowedPresenters sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. func (m *OnlineMeetingBase) SetAllowedPresenters(value *OnlineMeetingPresenters)() { err := m.GetBackingStore().Set("allowedPresenters", value) @@ -767,6 +886,13 @@ func (m *OnlineMeetingBase) SetAllowedPresenters(value *OnlineMeetingPresenters) panic(err) } } +// SetAllowLiveShare sets the allowLiveShare property value. The allowLiveShare property +func (m *OnlineMeetingBase) SetAllowLiveShare(value *bool)() { + err := m.GetBackingStore().Set("allowLiveShare", value) + if err != nil { + panic(err) + } +} // SetAllowMeetingChat sets the allowMeetingChat property value. Specifies the mode of meeting chat. func (m *OnlineMeetingBase) SetAllowMeetingChat(value *MeetingChatMode)() { err := m.GetBackingStore().Set("allowMeetingChat", value) @@ -781,6 +907,13 @@ func (m *OnlineMeetingBase) SetAllowParticipantsToChangeName(value *bool)() { panic(err) } } +// SetAllowPowerPointSharing sets the allowPowerPointSharing property value. The allowPowerPointSharing property +func (m *OnlineMeetingBase) SetAllowPowerPointSharing(value *bool)() { + err := m.GetBackingStore().Set("allowPowerPointSharing", value) + if err != nil { + panic(err) + } +} // SetAllowRecording sets the allowRecording property value. Indicates whether recording is enabled for the meeting. func (m *OnlineMeetingBase) SetAllowRecording(value *bool)() { err := m.GetBackingStore().Set("allowRecording", value) @@ -802,6 +935,13 @@ func (m *OnlineMeetingBase) SetAllowTranscription(value *bool)() { panic(err) } } +// SetAllowWhiteboard sets the allowWhiteboard property value. The allowWhiteboard property +func (m *OnlineMeetingBase) SetAllowWhiteboard(value *bool)() { + err := m.GetBackingStore().Set("allowWhiteboard", value) + if err != nil { + panic(err) + } +} // SetAnonymizeIdentityForRoles sets the anonymizeIdentityForRoles property value. Specifies whose identity is anonymized in the meeting. Possible values are: attendee. The attendee value can't be removed through a PATCH operation once added. func (m *OnlineMeetingBase) SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() { err := m.GetBackingStore().Set("anonymizeIdentityForRoles", value) @@ -919,12 +1059,16 @@ type OnlineMeetingBaseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowAttendeeToEnableCamera()(*bool) GetAllowAttendeeToEnableMic()(*bool) + GetAllowBreakoutRooms()(*bool) GetAllowedPresenters()(*OnlineMeetingPresenters) + GetAllowLiveShare()(*bool) GetAllowMeetingChat()(*MeetingChatMode) GetAllowParticipantsToChangeName()(*bool) + GetAllowPowerPointSharing()(*bool) GetAllowRecording()(*bool) GetAllowTeamworkReactions()(*bool) GetAllowTranscription()(*bool) + GetAllowWhiteboard()(*bool) GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) GetAttendanceReports()([]MeetingAttendanceReportable) GetAudioConferencing()(AudioConferencingable) @@ -943,12 +1087,16 @@ type OnlineMeetingBaseable interface { GetWatermarkProtection()(WatermarkProtectionValuesable) SetAllowAttendeeToEnableCamera(value *bool)() SetAllowAttendeeToEnableMic(value *bool)() + SetAllowBreakoutRooms(value *bool)() SetAllowedPresenters(value *OnlineMeetingPresenters)() + SetAllowLiveShare(value *bool)() SetAllowMeetingChat(value *MeetingChatMode)() SetAllowParticipantsToChangeName(value *bool)() + SetAllowPowerPointSharing(value *bool)() SetAllowRecording(value *bool)() SetAllowTeamworkReactions(value *bool)() SetAllowTranscription(value *bool)() + SetAllowWhiteboard(value *bool)() SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() SetAttendanceReports(value []MeetingAttendanceReportable)() SetAudioConferencing(value AudioConferencingable)() diff --git a/models/permission_grant_condition_set.go b/models/permission_grant_condition_set.go index 5a7cfa76286..4d00f4415b3 100644 --- a/models/permission_grant_condition_set.go +++ b/models/permission_grant_condition_set.go @@ -197,6 +197,16 @@ func (m *PermissionGrantConditionSet) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["scopeSensitivityLabels"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateScopeSensitivityLabelsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetScopeSensitivityLabels(val.(ScopeSensitivityLabelsable)) + } + return nil + } return res } // GetPermissionClassification gets the permissionClassification property value. The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all. @@ -247,6 +257,18 @@ func (m *PermissionGrantConditionSet) GetResourceApplication()(*string) { } return nil } +// GetScopeSensitivityLabels gets the scopeSensitivityLabels property value. The scopeSensitivityLabels property +// returns a ScopeSensitivityLabelsable when successful +func (m *PermissionGrantConditionSet) GetScopeSensitivityLabels()(ScopeSensitivityLabelsable) { + val, err := m.GetBackingStore().Get("scopeSensitivityLabels") + if err != nil { + panic(err) + } + if val != nil { + return val.(ScopeSensitivityLabelsable) + } + return nil +} // Serialize serializes information the current object func (m *PermissionGrantConditionSet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -308,6 +330,12 @@ func (m *PermissionGrantConditionSet) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteObjectValue("scopeSensitivityLabels", m.GetScopeSensitivityLabels()) + if err != nil { + return err + } + } return nil } // SetCertifiedClientApplicationsOnly sets the certifiedClientApplicationsOnly property value. Set to true to only match on client applications that are Microsoft 365 certified. Set to false to match on any other client app. Default is false. @@ -373,6 +401,13 @@ func (m *PermissionGrantConditionSet) SetResourceApplication(value *string)() { panic(err) } } +// SetScopeSensitivityLabels sets the scopeSensitivityLabels property value. The scopeSensitivityLabels property +func (m *PermissionGrantConditionSet) SetScopeSensitivityLabels(value ScopeSensitivityLabelsable)() { + err := m.GetBackingStore().Set("scopeSensitivityLabels", value) + if err != nil { + panic(err) + } +} type PermissionGrantConditionSetable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -385,6 +420,7 @@ type PermissionGrantConditionSetable interface { GetPermissions()([]string) GetPermissionType()(*PermissionType) GetResourceApplication()(*string) + GetScopeSensitivityLabels()(ScopeSensitivityLabelsable) SetCertifiedClientApplicationsOnly(value *bool)() SetClientApplicationIds(value []string)() SetClientApplicationPublisherIds(value []string)() @@ -394,4 +430,5 @@ type PermissionGrantConditionSetable interface { SetPermissions(value []string)() SetPermissionType(value *PermissionType)() SetResourceApplication(value *string)() + SetScopeSensitivityLabels(value ScopeSensitivityLabelsable)() } diff --git a/models/permission_grant_policy.go b/models/permission_grant_policy.go index 54d1a477107..887621afefa 100644 --- a/models/permission_grant_policy.go +++ b/models/permission_grant_policy.go @@ -53,6 +53,16 @@ func (m *PermissionGrantPolicy) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["includeAllPreApprovedApplications"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIncludeAllPreApprovedApplications(val) + } + return nil + } res["includes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreatePermissionGrantConditionSetFromDiscriminatorValue) if err != nil { @@ -81,6 +91,18 @@ func (m *PermissionGrantPolicy) GetFieldDeserializers()(map[string]func(i878a80d } return res } +// GetIncludeAllPreApprovedApplications gets the includeAllPreApprovedApplications property value. Set to true to create all pre-approval policies in the tenant. Set to false to disable all pre-approval policies in the tenant. The default is false. +// returns a *bool when successful +func (m *PermissionGrantPolicy) GetIncludeAllPreApprovedApplications()(*bool) { + val, err := m.GetBackingStore().Get("includeAllPreApprovedApplications") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIncludes gets the includes property value. Condition sets that are included in this permission grant policy. Automatically expanded on GET. // returns a []PermissionGrantConditionSetable when successful func (m *PermissionGrantPolicy) GetIncludes()([]PermissionGrantConditionSetable) { @@ -123,6 +145,12 @@ func (m *PermissionGrantPolicy) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + { + err = writer.WriteBoolValue("includeAllPreApprovedApplications", m.GetIncludeAllPreApprovedApplications()) + if err != nil { + return err + } + } if m.GetIncludes() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIncludes())) for i, v := range m.GetIncludes() { @@ -151,6 +179,13 @@ func (m *PermissionGrantPolicy) SetExcludes(value []PermissionGrantConditionSeta panic(err) } } +// SetIncludeAllPreApprovedApplications sets the includeAllPreApprovedApplications property value. Set to true to create all pre-approval policies in the tenant. Set to false to disable all pre-approval policies in the tenant. The default is false. +func (m *PermissionGrantPolicy) SetIncludeAllPreApprovedApplications(value *bool)() { + err := m.GetBackingStore().Set("includeAllPreApprovedApplications", value) + if err != nil { + panic(err) + } +} // SetIncludes sets the includes property value. Condition sets that are included in this permission grant policy. Automatically expanded on GET. func (m *PermissionGrantPolicy) SetIncludes(value []PermissionGrantConditionSetable)() { err := m.GetBackingStore().Set("includes", value) @@ -169,9 +204,11 @@ type PermissionGrantPolicyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable PolicyBaseable GetExcludes()([]PermissionGrantConditionSetable) + GetIncludeAllPreApprovedApplications()(*bool) GetIncludes()([]PermissionGrantConditionSetable) GetResourceScopeType()(*ResourceScopeType) SetExcludes(value []PermissionGrantConditionSetable)() + SetIncludeAllPreApprovedApplications(value *bool)() SetIncludes(value []PermissionGrantConditionSetable)() SetResourceScopeType(value *ResourceScopeType)() } diff --git a/models/permission_grant_pre_approval_policy.go b/models/permission_grant_pre_approval_policy.go new file mode 100644 index 00000000000..1e179a5de3e --- /dev/null +++ b/models/permission_grant_pre_approval_policy.go @@ -0,0 +1,90 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PermissionGrantPreApprovalPolicy struct { + DirectoryObject +} +// NewPermissionGrantPreApprovalPolicy instantiates a new PermissionGrantPreApprovalPolicy and sets the default values. +func NewPermissionGrantPreApprovalPolicy()(*PermissionGrantPreApprovalPolicy) { + m := &PermissionGrantPreApprovalPolicy{ + DirectoryObject: *NewDirectoryObject(), + } + odataTypeValue := "#microsoft.graph.permissionGrantPreApprovalPolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPermissionGrantPreApprovalPolicy(), nil +} +// GetConditions gets the conditions property value. A list of condition sets describing the conditions under which the permission to grant consent for the app has been preapproved. +// returns a []PreApprovalDetailable when successful +func (m *PermissionGrantPreApprovalPolicy) GetConditions()([]PreApprovalDetailable) { + val, err := m.GetBackingStore().Get("conditions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PreApprovalDetailable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PermissionGrantPreApprovalPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DirectoryObject.GetFieldDeserializers() + res["conditions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePreApprovalDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PreApprovalDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PreApprovalDetailable) + } + } + m.SetConditions(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *PermissionGrantPreApprovalPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DirectoryObject.Serialize(writer) + if err != nil { + return err + } + if m.GetConditions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetConditions())) + for i, v := range m.GetConditions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("conditions", cast) + if err != nil { + return err + } + } + return nil +} +// SetConditions sets the conditions property value. A list of condition sets describing the conditions under which the permission to grant consent for the app has been preapproved. +func (m *PermissionGrantPreApprovalPolicy) SetConditions(value []PreApprovalDetailable)() { + err := m.GetBackingStore().Set("conditions", value) + if err != nil { + panic(err) + } +} +type PermissionGrantPreApprovalPolicyable interface { + DirectoryObjectable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetConditions()([]PreApprovalDetailable) + SetConditions(value []PreApprovalDetailable)() +} diff --git a/models/permission_grant_pre_approval_policy_collection_response.go b/models/permission_grant_pre_approval_policy_collection_response.go new file mode 100644 index 00000000000..c42aa5a88f9 --- /dev/null +++ b/models/permission_grant_pre_approval_policy_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PermissionGrantPreApprovalPolicyCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewPermissionGrantPreApprovalPolicyCollectionResponse instantiates a new PermissionGrantPreApprovalPolicyCollectionResponse and sets the default values. +func NewPermissionGrantPreApprovalPolicyCollectionResponse()(*PermissionGrantPreApprovalPolicyCollectionResponse) { + m := &PermissionGrantPreApprovalPolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreatePermissionGrantPreApprovalPolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePermissionGrantPreApprovalPolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPermissionGrantPreApprovalPolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PermissionGrantPreApprovalPolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PermissionGrantPreApprovalPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PermissionGrantPreApprovalPolicyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PermissionGrantPreApprovalPolicyable when successful +func (m *PermissionGrantPreApprovalPolicyCollectionResponse) GetValue()([]PermissionGrantPreApprovalPolicyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PermissionGrantPreApprovalPolicyable) + } + return nil +} +// Serialize serializes information the current object +func (m *PermissionGrantPreApprovalPolicyCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *PermissionGrantPreApprovalPolicyCollectionResponse) SetValue(value []PermissionGrantPreApprovalPolicyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type PermissionGrantPreApprovalPolicyCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]PermissionGrantPreApprovalPolicyable) + SetValue(value []PermissionGrantPreApprovalPolicyable)() +} diff --git a/models/permission_kind.go b/models/permission_kind.go new file mode 100644 index 00000000000..12123f58afb --- /dev/null +++ b/models/permission_kind.go @@ -0,0 +1,39 @@ +package models +type PermissionKind int + +const ( + ALL_PERMISSIONKIND PermissionKind = iota + ENUMERATED_PERMISSIONKIND + ALLPERMISSIONSONRESOURCEAPP_PERMISSIONKIND + UNKNOWNFUTUREVALUE_PERMISSIONKIND +) + +func (i PermissionKind) String() string { + return []string{"all", "enumerated", "allPermissionsOnResourceApp", "unknownFutureValue"}[i] +} +func ParsePermissionKind(v string) (any, error) { + result := ALL_PERMISSIONKIND + switch v { + case "all": + result = ALL_PERMISSIONKIND + case "enumerated": + result = ENUMERATED_PERMISSIONKIND + case "allPermissionsOnResourceApp": + result = ALLPERMISSIONSONRESOURCEAPP_PERMISSIONKIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PERMISSIONKIND + default: + return nil, nil + } + return &result, nil +} +func SerializePermissionKind(values []PermissionKind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PermissionKind) isMultiValue() bool { + return false +} diff --git a/models/policy_root.go b/models/policy_root.go index 2199cfc897c..3a8e6a763b3 100644 --- a/models/policy_root.go +++ b/models/policy_root.go @@ -535,6 +535,22 @@ func (m *PolicyRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["permissionGrantPreApprovalPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PermissionGrantPreApprovalPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PermissionGrantPreApprovalPolicyable) + } + } + m.SetPermissionGrantPreApprovalPolicies(res) + } + return nil + } res["roleManagementPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateUnifiedRoleManagementPolicyFromDiscriminatorValue) if err != nil { @@ -677,6 +693,18 @@ func (m *PolicyRoot) GetPermissionGrantPolicies()([]PermissionGrantPolicyable) { } return nil } +// GetPermissionGrantPreApprovalPolicies gets the permissionGrantPreApprovalPolicies property value. Policies that specify the conditions under which consent can be granted to a specific application. +// returns a []PermissionGrantPreApprovalPolicyable when successful +func (m *PolicyRoot) GetPermissionGrantPreApprovalPolicies()([]PermissionGrantPreApprovalPolicyable) { + val, err := m.GetBackingStore().Get("permissionGrantPreApprovalPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PermissionGrantPreApprovalPolicyable) + } + return nil +} // GetRoleManagementPolicies gets the roleManagementPolicies property value. Represents the role management policies. // returns a []UnifiedRoleManagementPolicyable when successful func (m *PolicyRoot) GetRoleManagementPolicies()([]UnifiedRoleManagementPolicyable) { @@ -947,6 +975,18 @@ func (m *PolicyRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + if m.GetPermissionGrantPreApprovalPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissionGrantPreApprovalPolicies())) + for i, v := range m.GetPermissionGrantPreApprovalPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("permissionGrantPreApprovalPolicies", cast) + if err != nil { + return err + } + } if m.GetRoleManagementPolicies() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRoleManagementPolicies())) for i, v := range m.GetRoleManagementPolicies() { @@ -1170,6 +1210,13 @@ func (m *PolicyRoot) SetPermissionGrantPolicies(value []PermissionGrantPolicyabl panic(err) } } +// SetPermissionGrantPreApprovalPolicies sets the permissionGrantPreApprovalPolicies property value. Policies that specify the conditions under which consent can be granted to a specific application. +func (m *PolicyRoot) SetPermissionGrantPreApprovalPolicies(value []PermissionGrantPreApprovalPolicyable)() { + err := m.GetBackingStore().Set("permissionGrantPreApprovalPolicies", value) + if err != nil { + panic(err) + } +} // SetRoleManagementPolicies sets the roleManagementPolicies property value. Represents the role management policies. func (m *PolicyRoot) SetRoleManagementPolicies(value []UnifiedRoleManagementPolicyable)() { err := m.GetBackingStore().Set("roleManagementPolicies", value) @@ -1231,6 +1278,7 @@ type PolicyRootable interface { GetMobileAppManagementPolicies()([]MobilityManagementPolicyable) GetMobileDeviceManagementPolicies()([]MobilityManagementPolicyable) GetPermissionGrantPolicies()([]PermissionGrantPolicyable) + GetPermissionGrantPreApprovalPolicies()([]PermissionGrantPreApprovalPolicyable) GetRoleManagementPolicies()([]UnifiedRoleManagementPolicyable) GetRoleManagementPolicyAssignments()([]UnifiedRoleManagementPolicyAssignmentable) GetServicePrincipalCreationPolicies()([]ServicePrincipalCreationPolicyable) @@ -1259,6 +1307,7 @@ type PolicyRootable interface { SetMobileAppManagementPolicies(value []MobilityManagementPolicyable)() SetMobileDeviceManagementPolicies(value []MobilityManagementPolicyable)() SetPermissionGrantPolicies(value []PermissionGrantPolicyable)() + SetPermissionGrantPreApprovalPolicies(value []PermissionGrantPreApprovalPolicyable)() SetRoleManagementPolicies(value []UnifiedRoleManagementPolicyable)() SetRoleManagementPolicyAssignments(value []UnifiedRoleManagementPolicyAssignmentable)() SetServicePrincipalCreationPolicies(value []ServicePrincipalCreationPolicyable)() diff --git a/models/pre_approval_detail.go b/models/pre_approval_detail.go new file mode 100644 index 00000000000..eeaf7de4ceb --- /dev/null +++ b/models/pre_approval_detail.go @@ -0,0 +1,225 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PreApprovalDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPreApprovalDetail instantiates a new PreApprovalDetail and sets the default values. +func NewPreApprovalDetail()(*PreApprovalDetail) { + m := &PreApprovalDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePreApprovalDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePreApprovalDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPreApprovalDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PreApprovalDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PreApprovalDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PreApprovalDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePreApprovedPermissionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPermissions(val.(PreApprovedPermissionsable)) + } + return nil + } + res["scopeType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseResourceScopeType) + if err != nil { + return err + } + if val != nil { + m.SetScopeType(val.(*ResourceScopeType)) + } + return nil + } + res["sensitivityLabels"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateScopeSensitivityLabelsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabels(val.(ScopeSensitivityLabelsable)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PreApprovalDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPermissions gets the permissions property value. The permissions property +// returns a PreApprovedPermissionsable when successful +func (m *PreApprovalDetail) GetPermissions()(PreApprovedPermissionsable) { + val, err := m.GetBackingStore().Get("permissions") + if err != nil { + panic(err) + } + if val != nil { + return val.(PreApprovedPermissionsable) + } + return nil +} +// GetScopeType gets the scopeType property value. The scopeType property +// returns a *ResourceScopeType when successful +func (m *PreApprovalDetail) GetScopeType()(*ResourceScopeType) { + val, err := m.GetBackingStore().Get("scopeType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ResourceScopeType) + } + return nil +} +// GetSensitivityLabels gets the sensitivityLabels property value. The sensitivityLabels property +// returns a ScopeSensitivityLabelsable when successful +func (m *PreApprovalDetail) GetSensitivityLabels()(ScopeSensitivityLabelsable) { + val, err := m.GetBackingStore().Get("sensitivityLabels") + if err != nil { + panic(err) + } + if val != nil { + return val.(ScopeSensitivityLabelsable) + } + return nil +} +// Serialize serializes information the current object +func (m *PreApprovalDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("permissions", m.GetPermissions()) + if err != nil { + return err + } + } + if m.GetScopeType() != nil { + cast := (*m.GetScopeType()).String() + err := writer.WriteStringValue("scopeType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("sensitivityLabels", m.GetSensitivityLabels()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PreApprovalDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PreApprovalDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PreApprovalDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPermissions sets the permissions property value. The permissions property +func (m *PreApprovalDetail) SetPermissions(value PreApprovedPermissionsable)() { + err := m.GetBackingStore().Set("permissions", value) + if err != nil { + panic(err) + } +} +// SetScopeType sets the scopeType property value. The scopeType property +func (m *PreApprovalDetail) SetScopeType(value *ResourceScopeType)() { + err := m.GetBackingStore().Set("scopeType", value) + if err != nil { + panic(err) + } +} +// SetSensitivityLabels sets the sensitivityLabels property value. The sensitivityLabels property +func (m *PreApprovalDetail) SetSensitivityLabels(value ScopeSensitivityLabelsable)() { + err := m.GetBackingStore().Set("sensitivityLabels", value) + if err != nil { + panic(err) + } +} +type PreApprovalDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPermissions()(PreApprovedPermissionsable) + GetScopeType()(*ResourceScopeType) + GetSensitivityLabels()(ScopeSensitivityLabelsable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPermissions(value PreApprovedPermissionsable)() + SetScopeType(value *ResourceScopeType)() + SetSensitivityLabels(value ScopeSensitivityLabelsable)() +} diff --git a/models/pre_approved_permissions.go b/models/pre_approved_permissions.go new file mode 100644 index 00000000000..6066cb54f43 --- /dev/null +++ b/models/pre_approved_permissions.go @@ -0,0 +1,211 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PreApprovedPermissions struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPreApprovedPermissions instantiates a new PreApprovedPermissions and sets the default values. +func NewPreApprovedPermissions()(*PreApprovedPermissions) { + m := &PreApprovedPermissions{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePreApprovedPermissionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePreApprovedPermissionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.allPreApprovedPermissions": + return NewAllPreApprovedPermissions(), nil + case "#microsoft.graph.allPreApprovedPermissionsOnResourceApp": + return NewAllPreApprovedPermissionsOnResourceApp(), nil + case "#microsoft.graph.enumeratedPreApprovedPermissions": + return NewEnumeratedPreApprovedPermissions(), nil + } + } + } + } + return NewPreApprovedPermissions(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PreApprovedPermissions) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PreApprovedPermissions) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PreApprovedPermissions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["permissionKind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePermissionKind) + if err != nil { + return err + } + if val != nil { + m.SetPermissionKind(val.(*PermissionKind)) + } + return nil + } + res["permissionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePermissionType) + if err != nil { + return err + } + if val != nil { + m.SetPermissionType(val.(*PermissionType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PreApprovedPermissions) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPermissionKind gets the permissionKind property value. Indicates the scope of permissions that are included in this condition set. Possible values: all for all permissions, enumerated for a given list of permissions, or allPermissionsOnResourceApp for all permissions from a given API. Required. +// returns a *PermissionKind when successful +func (m *PreApprovedPermissions) GetPermissionKind()(*PermissionKind) { + val, err := m.GetBackingStore().Get("permissionKind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PermissionKind) + } + return nil +} +// GetPermissionType gets the permissionType property value. The type of permission being granted. Possible values: application for application permissions, or delegated for delegated permissions. Required. +// returns a *PermissionType when successful +func (m *PreApprovedPermissions) GetPermissionType()(*PermissionType) { + val, err := m.GetBackingStore().Get("permissionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PermissionType) + } + return nil +} +// Serialize serializes information the current object +func (m *PreApprovedPermissions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPermissionKind() != nil { + cast := (*m.GetPermissionKind()).String() + err := writer.WriteStringValue("permissionKind", &cast) + if err != nil { + return err + } + } + if m.GetPermissionType() != nil { + cast := (*m.GetPermissionType()).String() + err := writer.WriteStringValue("permissionType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PreApprovedPermissions) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PreApprovedPermissions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PreApprovedPermissions) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPermissionKind sets the permissionKind property value. Indicates the scope of permissions that are included in this condition set. Possible values: all for all permissions, enumerated for a given list of permissions, or allPermissionsOnResourceApp for all permissions from a given API. Required. +func (m *PreApprovedPermissions) SetPermissionKind(value *PermissionKind)() { + err := m.GetBackingStore().Set("permissionKind", value) + if err != nil { + panic(err) + } +} +// SetPermissionType sets the permissionType property value. The type of permission being granted. Possible values: application for application permissions, or delegated for delegated permissions. Required. +func (m *PreApprovedPermissions) SetPermissionType(value *PermissionType)() { + err := m.GetBackingStore().Set("permissionType", value) + if err != nil { + panic(err) + } +} +type PreApprovedPermissionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPermissionKind()(*PermissionKind) + GetPermissionType()(*PermissionType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPermissionKind(value *PermissionKind)() + SetPermissionType(value *PermissionType)() +} diff --git a/models/profile_source_annotation.go b/models/profile_source_annotation.go index c183621bf34..927373db0c6 100644 --- a/models/profile_source_annotation.go +++ b/models/profile_source_annotation.go @@ -116,7 +116,7 @@ func (m *ProfileSourceAnnotation) GetOdataType()(*string) { } return nil } -// GetProperties gets the properties property value. The names of properties that have data from this source. +// GetProperties gets the properties property value. Names of properties that have data from this source. // returns a []string when successful func (m *ProfileSourceAnnotation) GetProperties()([]string) { val, err := m.GetBackingStore().Get("properties") @@ -199,7 +199,7 @@ func (m *ProfileSourceAnnotation) SetOdataType(value *string)() { panic(err) } } -// SetProperties sets the properties property value. The names of properties that have data from this source. +// SetProperties sets the properties property value. Names of properties that have data from this source. func (m *ProfileSourceAnnotation) SetProperties(value []string)() { err := m.GetBackingStore().Set("properties", value) if err != nil { diff --git a/models/protection_policy_base.go b/models/protection_policy_base.go new file mode 100644 index 00000000000..c0ccca4300f --- /dev/null +++ b/models/protection_policy_base.go @@ -0,0 +1,334 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectionPolicyBase struct { + Entity +} +// NewProtectionPolicyBase instantiates a new ProtectionPolicyBase and sets the default values. +func NewProtectionPolicyBase()(*ProtectionPolicyBase) { + m := &ProtectionPolicyBase{ + Entity: *NewEntity(), + } + return m +} +// CreateProtectionPolicyBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionPolicyBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.exchangeProtectionPolicy": + return NewExchangeProtectionPolicy(), nil + case "#microsoft.graph.oneDriveForBusinessProtectionPolicy": + return NewOneDriveForBusinessProtectionPolicy(), nil + case "#microsoft.graph.sharePointProtectionPolicy": + return NewSharePointProtectionPolicy(), nil + } + } + } + } + return NewProtectionPolicyBase(), nil +} +// GetCreatedBy gets the createdBy property value. The identity of person who created the policy. +// returns a IdentitySetable when successful +func (m *ProtectionPolicyBase) GetCreatedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The time of creation of the policy. +// returns a *Time when successful +func (m *ProtectionPolicyBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDisplayName gets the displayName property value. The name of the policy to be created. +// returns a *string when successful +func (m *ProtectionPolicyBase) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionPolicyBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val.(IdentitySetable)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedBy(val.(IdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["retentionSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRetentionSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RetentionSettingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RetentionSettingable) + } + } + m.SetRetentionSettings(res) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseProtectionPolicyStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ProtectionPolicyStatus)) + } + return nil + } + return res +} +// GetLastModifiedBy gets the lastModifiedBy property value. The identity of the person who last modified the policy. +// returns a IdentitySetable when successful +func (m *ProtectionPolicyBase) GetLastModifiedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("lastModifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The timestamp of the last modification of the policy. +// returns a *Time when successful +func (m *ProtectionPolicyBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRetentionSettings gets the retentionSettings property value. Contains the retention setting details for the policy. +// returns a []RetentionSettingable when successful +func (m *ProtectionPolicyBase) GetRetentionSettings()([]RetentionSettingable) { + val, err := m.GetBackingStore().Get("retentionSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RetentionSettingable) + } + return nil +} +// GetStatus gets the status property value. The aggregated status of the protection units associated with the policy. The possible values are: inactive, activeWithErrors, updating, active, unknownFutureValue. +// returns a *ProtectionPolicyStatus when successful +func (m *ProtectionPolicyBase) GetStatus()(*ProtectionPolicyStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ProtectionPolicyStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionPolicyBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetRetentionSettings() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRetentionSettings())) + for i, v := range m.GetRetentionSettings() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("retentionSettings", cast) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedBy sets the createdBy property value. The identity of person who created the policy. +func (m *ProtectionPolicyBase) SetCreatedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The time of creation of the policy. +func (m *ProtectionPolicyBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The name of the policy to be created. +func (m *ProtectionPolicyBase) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedBy sets the lastModifiedBy property value. The identity of the person who last modified the policy. +func (m *ProtectionPolicyBase) SetLastModifiedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("lastModifiedBy", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The timestamp of the last modification of the policy. +func (m *ProtectionPolicyBase) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetRetentionSettings sets the retentionSettings property value. Contains the retention setting details for the policy. +func (m *ProtectionPolicyBase) SetRetentionSettings(value []RetentionSettingable)() { + err := m.GetBackingStore().Set("retentionSettings", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The aggregated status of the protection units associated with the policy. The possible values are: inactive, activeWithErrors, updating, active, unknownFutureValue. +func (m *ProtectionPolicyBase) SetStatus(value *ProtectionPolicyStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type ProtectionPolicyBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedBy()(IdentitySetable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDisplayName()(*string) + GetLastModifiedBy()(IdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRetentionSettings()([]RetentionSettingable) + GetStatus()(*ProtectionPolicyStatus) + SetCreatedBy(value IdentitySetable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDisplayName(value *string)() + SetLastModifiedBy(value IdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRetentionSettings(value []RetentionSettingable)() + SetStatus(value *ProtectionPolicyStatus)() +} diff --git a/models/protection_policy_base_collection_response.go b/models/protection_policy_base_collection_response.go new file mode 100644 index 00000000000..d09d67fd9e8 --- /dev/null +++ b/models/protection_policy_base_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectionPolicyBaseCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewProtectionPolicyBaseCollectionResponse instantiates a new ProtectionPolicyBaseCollectionResponse and sets the default values. +func NewProtectionPolicyBaseCollectionResponse()(*ProtectionPolicyBaseCollectionResponse) { + m := &ProtectionPolicyBaseCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateProtectionPolicyBaseCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionPolicyBaseCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProtectionPolicyBaseCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionPolicyBaseCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProtectionPolicyBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProtectionPolicyBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProtectionPolicyBaseable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ProtectionPolicyBaseable when successful +func (m *ProtectionPolicyBaseCollectionResponse) GetValue()([]ProtectionPolicyBaseable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProtectionPolicyBaseable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionPolicyBaseCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ProtectionPolicyBaseCollectionResponse) SetValue(value []ProtectionPolicyBaseable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ProtectionPolicyBaseCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ProtectionPolicyBaseable) + SetValue(value []ProtectionPolicyBaseable)() +} diff --git a/models/protection_policy_status.go b/models/protection_policy_status.go new file mode 100644 index 00000000000..7c0bd312429 --- /dev/null +++ b/models/protection_policy_status.go @@ -0,0 +1,42 @@ +package models +type ProtectionPolicyStatus int + +const ( + INACTIVE_PROTECTIONPOLICYSTATUS ProtectionPolicyStatus = iota + ACTIVEWITHERRORS_PROTECTIONPOLICYSTATUS + UPDATING_PROTECTIONPOLICYSTATUS + ACTIVE_PROTECTIONPOLICYSTATUS + UNKNOWNFUTUREVALUE_PROTECTIONPOLICYSTATUS +) + +func (i ProtectionPolicyStatus) String() string { + return []string{"inactive", "activeWithErrors", "updating", "active", "unknownFutureValue"}[i] +} +func ParseProtectionPolicyStatus(v string) (any, error) { + result := INACTIVE_PROTECTIONPOLICYSTATUS + switch v { + case "inactive": + result = INACTIVE_PROTECTIONPOLICYSTATUS + case "activeWithErrors": + result = ACTIVEWITHERRORS_PROTECTIONPOLICYSTATUS + case "updating": + result = UPDATING_PROTECTIONPOLICYSTATUS + case "active": + result = ACTIVE_PROTECTIONPOLICYSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PROTECTIONPOLICYSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeProtectionPolicyStatus(values []ProtectionPolicyStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ProtectionPolicyStatus) isMultiValue() bool { + return false +} diff --git a/models/protection_rule_base.go b/models/protection_rule_base.go new file mode 100644 index 00000000000..1c6a4b6e70a --- /dev/null +++ b/models/protection_rule_base.go @@ -0,0 +1,322 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectionRuleBase struct { + Entity +} +// NewProtectionRuleBase instantiates a new ProtectionRuleBase and sets the default values. +func NewProtectionRuleBase()(*ProtectionRuleBase) { + m := &ProtectionRuleBase{ + Entity: *NewEntity(), + } + return m +} +// CreateProtectionRuleBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionRuleBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.driveProtectionRule": + return NewDriveProtectionRule(), nil + case "#microsoft.graph.mailboxProtectionRule": + return NewMailboxProtectionRule(), nil + case "#microsoft.graph.siteProtectionRule": + return NewSiteProtectionRule(), nil + } + } + } + } + return NewProtectionRuleBase(), nil +} +// GetCreatedBy gets the createdBy property value. The identity of person who created the rule. +// returns a IdentitySetable when successful +func (m *ProtectionRuleBase) GetCreatedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The time of creation of the rule. +// returns a *Time when successful +func (m *ProtectionRuleBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetError gets the error property value. Contains error details if an operation on a rule fails. +// returns a PublicErrorable when successful +func (m *ProtectionRuleBase) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionRuleBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val.(IdentitySetable)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["isAutoApplyEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsAutoApplyEnabled(val) + } + return nil + } + res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedBy(val.(IdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseProtectionRuleStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ProtectionRuleStatus)) + } + return nil + } + return res +} +// GetIsAutoApplyEnabled gets the isAutoApplyEnabled property value. Indicates whether the protection rule is static or dynamic. +// returns a *bool when successful +func (m *ProtectionRuleBase) GetIsAutoApplyEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isAutoApplyEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastModifiedBy gets the lastModifiedBy property value. The identity of the person who last modified the rule. +// returns a IdentitySetable when successful +func (m *ProtectionRuleBase) GetLastModifiedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("lastModifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of the last modification made to the rule. +// returns a *Time when successful +func (m *ProtectionRuleBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. +// returns a *ProtectionRuleStatus when successful +func (m *ProtectionRuleBase) GetStatus()(*ProtectionRuleStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ProtectionRuleStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionRuleBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isAutoApplyEnabled", m.GetIsAutoApplyEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedBy sets the createdBy property value. The identity of person who created the rule. +func (m *ProtectionRuleBase) SetCreatedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The time of creation of the rule. +func (m *ProtectionRuleBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetError sets the error property value. Contains error details if an operation on a rule fails. +func (m *ProtectionRuleBase) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetIsAutoApplyEnabled sets the isAutoApplyEnabled property value. Indicates whether the protection rule is static or dynamic. +func (m *ProtectionRuleBase) SetIsAutoApplyEnabled(value *bool)() { + err := m.GetBackingStore().Set("isAutoApplyEnabled", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedBy sets the lastModifiedBy property value. The identity of the person who last modified the rule. +func (m *ProtectionRuleBase) SetLastModifiedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("lastModifiedBy", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of the last modification made to the rule. +func (m *ProtectionRuleBase) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. +func (m *ProtectionRuleBase) SetStatus(value *ProtectionRuleStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type ProtectionRuleBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedBy()(IdentitySetable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetError()(PublicErrorable) + GetIsAutoApplyEnabled()(*bool) + GetLastModifiedBy()(IdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*ProtectionRuleStatus) + SetCreatedBy(value IdentitySetable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetError(value PublicErrorable)() + SetIsAutoApplyEnabled(value *bool)() + SetLastModifiedBy(value IdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *ProtectionRuleStatus)() +} diff --git a/models/protection_rule_status.go b/models/protection_rule_status.go new file mode 100644 index 00000000000..2e1d94f8f73 --- /dev/null +++ b/models/protection_rule_status.go @@ -0,0 +1,42 @@ +package models +type ProtectionRuleStatus int + +const ( + DRAFT_PROTECTIONRULESTATUS ProtectionRuleStatus = iota + ACTIVE_PROTECTIONRULESTATUS + COMPLETED_PROTECTIONRULESTATUS + COMPLETEDWITHERRORS_PROTECTIONRULESTATUS + UNKNOWNFUTUREVALUE_PROTECTIONRULESTATUS +) + +func (i ProtectionRuleStatus) String() string { + return []string{"draft", "active", "completed", "completedWithErrors", "unknownFutureValue"}[i] +} +func ParseProtectionRuleStatus(v string) (any, error) { + result := DRAFT_PROTECTIONRULESTATUS + switch v { + case "draft": + result = DRAFT_PROTECTIONRULESTATUS + case "active": + result = ACTIVE_PROTECTIONRULESTATUS + case "completed": + result = COMPLETED_PROTECTIONRULESTATUS + case "completedWithErrors": + result = COMPLETEDWITHERRORS_PROTECTIONRULESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PROTECTIONRULESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeProtectionRuleStatus(values []ProtectionRuleStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ProtectionRuleStatus) isMultiValue() bool { + return false +} diff --git a/models/protection_unit_base.go b/models/protection_unit_base.go new file mode 100644 index 00000000000..815689b36b8 --- /dev/null +++ b/models/protection_unit_base.go @@ -0,0 +1,322 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectionUnitBase struct { + Entity +} +// NewProtectionUnitBase instantiates a new ProtectionUnitBase and sets the default values. +func NewProtectionUnitBase()(*ProtectionUnitBase) { + m := &ProtectionUnitBase{ + Entity: *NewEntity(), + } + return m +} +// CreateProtectionUnitBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionUnitBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.driveProtectionUnit": + return NewDriveProtectionUnit(), nil + case "#microsoft.graph.mailboxProtectionUnit": + return NewMailboxProtectionUnit(), nil + case "#microsoft.graph.siteProtectionUnit": + return NewSiteProtectionUnit(), nil + } + } + } + } + return NewProtectionUnitBase(), nil +} +// GetCreatedBy gets the createdBy property value. The identity of person who created the protection unit. +// returns a IdentitySetable when successful +func (m *ProtectionUnitBase) GetCreatedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The time of creation of the protection unit. +// returns a *Time when successful +func (m *ProtectionUnitBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetError gets the error property value. Contains error details if an error occurred while creating a protection unit. +// returns a PublicErrorable when successful +func (m *ProtectionUnitBase) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionUnitBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val.(IdentitySetable)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedBy(val.(IdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["policyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyId(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseProtectionUnitStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ProtectionUnitStatus)) + } + return nil + } + return res +} +// GetLastModifiedBy gets the lastModifiedBy property value. The identity of person who last modified the protection unit. +// returns a IdentitySetable when successful +func (m *ProtectionUnitBase) GetLastModifiedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("lastModifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of the last modification of this protection unit. +// returns a *Time when successful +func (m *ProtectionUnitBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetPolicyId gets the policyId property value. The unique identifier of the protection policy based on which protection unit was created. +// returns a *string when successful +func (m *ProtectionUnitBase) GetPolicyId()(*string) { + val, err := m.GetBackingStore().Get("policyId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatus gets the status property value. The status of the protection unit. The possible values are: protectRequested, protected, unprotectRequested, unprotected, removeRequested, unknownFutureValue. +// returns a *ProtectionUnitStatus when successful +func (m *ProtectionUnitBase) GetStatus()(*ProtectionUnitStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ProtectionUnitStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionUnitBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policyId", m.GetPolicyId()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedBy sets the createdBy property value. The identity of person who created the protection unit. +func (m *ProtectionUnitBase) SetCreatedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The time of creation of the protection unit. +func (m *ProtectionUnitBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetError sets the error property value. Contains error details if an error occurred while creating a protection unit. +func (m *ProtectionUnitBase) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedBy sets the lastModifiedBy property value. The identity of person who last modified the protection unit. +func (m *ProtectionUnitBase) SetLastModifiedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("lastModifiedBy", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of the last modification of this protection unit. +func (m *ProtectionUnitBase) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetPolicyId sets the policyId property value. The unique identifier of the protection policy based on which protection unit was created. +func (m *ProtectionUnitBase) SetPolicyId(value *string)() { + err := m.GetBackingStore().Set("policyId", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status of the protection unit. The possible values are: protectRequested, protected, unprotectRequested, unprotected, removeRequested, unknownFutureValue. +func (m *ProtectionUnitBase) SetStatus(value *ProtectionUnitStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type ProtectionUnitBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedBy()(IdentitySetable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetError()(PublicErrorable) + GetLastModifiedBy()(IdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetPolicyId()(*string) + GetStatus()(*ProtectionUnitStatus) + SetCreatedBy(value IdentitySetable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetError(value PublicErrorable)() + SetLastModifiedBy(value IdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetPolicyId(value *string)() + SetStatus(value *ProtectionUnitStatus)() +} diff --git a/models/protection_unit_base_collection_response.go b/models/protection_unit_base_collection_response.go new file mode 100644 index 00000000000..672bca7c925 --- /dev/null +++ b/models/protection_unit_base_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectionUnitBaseCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewProtectionUnitBaseCollectionResponse instantiates a new ProtectionUnitBaseCollectionResponse and sets the default values. +func NewProtectionUnitBaseCollectionResponse()(*ProtectionUnitBaseCollectionResponse) { + m := &ProtectionUnitBaseCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateProtectionUnitBaseCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionUnitBaseCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProtectionUnitBaseCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionUnitBaseCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProtectionUnitBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProtectionUnitBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProtectionUnitBaseable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ProtectionUnitBaseable when successful +func (m *ProtectionUnitBaseCollectionResponse) GetValue()([]ProtectionUnitBaseable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProtectionUnitBaseable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionUnitBaseCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ProtectionUnitBaseCollectionResponse) SetValue(value []ProtectionUnitBaseable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ProtectionUnitBaseCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ProtectionUnitBaseable) + SetValue(value []ProtectionUnitBaseable)() +} diff --git a/models/protection_unit_status.go b/models/protection_unit_status.go new file mode 100644 index 00000000000..1c09c905d69 --- /dev/null +++ b/models/protection_unit_status.go @@ -0,0 +1,45 @@ +package models +type ProtectionUnitStatus int + +const ( + PROTECTREQUESTED_PROTECTIONUNITSTATUS ProtectionUnitStatus = iota + PROTECTED_PROTECTIONUNITSTATUS + UNPROTECTREQUESTED_PROTECTIONUNITSTATUS + UNPROTECTED_PROTECTIONUNITSTATUS + REMOVEREQUESTED_PROTECTIONUNITSTATUS + UNKNOWNFUTUREVALUE_PROTECTIONUNITSTATUS +) + +func (i ProtectionUnitStatus) String() string { + return []string{"protectRequested", "protected", "unprotectRequested", "unprotected", "removeRequested", "unknownFutureValue"}[i] +} +func ParseProtectionUnitStatus(v string) (any, error) { + result := PROTECTREQUESTED_PROTECTIONUNITSTATUS + switch v { + case "protectRequested": + result = PROTECTREQUESTED_PROTECTIONUNITSTATUS + case "protected": + result = PROTECTED_PROTECTIONUNITSTATUS + case "unprotectRequested": + result = UNPROTECTREQUESTED_PROTECTIONUNITSTATUS + case "unprotected": + result = UNPROTECTED_PROTECTIONUNITSTATUS + case "removeRequested": + result = REMOVEREQUESTED_PROTECTIONUNITSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PROTECTIONUNITSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeProtectionUnitStatus(values []ProtectionUnitStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ProtectionUnitStatus) isMultiValue() bool { + return false +} diff --git a/models/remote_action.go b/models/remote_action.go index fc2b4165260..e1a2e05de5b 100644 --- a/models/remote_action.go +++ b/models/remote_action.go @@ -78,13 +78,13 @@ const ( // Indicates remote device action to intiate Mobile Device Management (MDM) attestation if device is capable for it. INITIATEDEVICEATTESTATION_REMOTEACTION // Indicates remote device action to override assignments for a Device. - CHANGEASSIGNMENT_REMOTEACTION + CHANGEASSIGNMENTS_REMOTEACTION // Indicates remote device action to delete a device from Intune portal. DELETE_REMOTEACTION ) func (i RemoteAction) String() string { - return []string{"unknown", "factoryReset", "removeCompanyData", "resetPasscode", "remoteLock", "enableLostMode", "disableLostMode", "locateDevice", "rebootNow", "recoverPasscode", "cleanWindowsDevice", "logoutSharedAppleDeviceActiveUser", "quickScan", "fullScan", "windowsDefenderUpdateSignatures", "factoryResetKeepEnrollmentData", "updateDeviceAccount", "automaticRedeployment", "shutDown", "rotateBitLockerKeys", "rotateFileVaultKey", "getFileVaultKey", "setDeviceName", "activateDeviceEsim", "deprovision", "disable", "reenable", "moveDeviceToOrganizationalUnit", "initiateMobileDeviceManagementKeyRecovery", "initiateOnDemandProactiveRemediation", "rotateLocalAdminPassword", "unknownFutureValue", "launchRemoteHelp", "revokeAppleVppLicenses", "removeDeviceFirmwareConfigurationInterfaceManagement", "pauseConfigurationRefresh", "initiateDeviceAttestation", "changeAssignment", "delete"}[i] + return []string{"unknown", "factoryReset", "removeCompanyData", "resetPasscode", "remoteLock", "enableLostMode", "disableLostMode", "locateDevice", "rebootNow", "recoverPasscode", "cleanWindowsDevice", "logoutSharedAppleDeviceActiveUser", "quickScan", "fullScan", "windowsDefenderUpdateSignatures", "factoryResetKeepEnrollmentData", "updateDeviceAccount", "automaticRedeployment", "shutDown", "rotateBitLockerKeys", "rotateFileVaultKey", "getFileVaultKey", "setDeviceName", "activateDeviceEsim", "deprovision", "disable", "reenable", "moveDeviceToOrganizationalUnit", "initiateMobileDeviceManagementKeyRecovery", "initiateOnDemandProactiveRemediation", "rotateLocalAdminPassword", "unknownFutureValue", "launchRemoteHelp", "revokeAppleVppLicenses", "removeDeviceFirmwareConfigurationInterfaceManagement", "pauseConfigurationRefresh", "initiateDeviceAttestation", "changeAssignments", "delete"}[i] } func ParseRemoteAction(v string) (any, error) { result := UNKNOWN_REMOTEACTION @@ -163,8 +163,8 @@ func ParseRemoteAction(v string) (any, error) { result = PAUSECONFIGURATIONREFRESH_REMOTEACTION case "initiateDeviceAttestation": result = INITIATEDEVICEATTESTATION_REMOTEACTION - case "changeAssignment": - result = CHANGEASSIGNMENT_REMOTEACTION + case "changeAssignments": + result = CHANGEASSIGNMENTS_REMOTEACTION case "delete": result = DELETE_REMOTEACTION default: diff --git a/models/report.go b/models/report.go index f75f1545fa9..5b29a811055 100644 --- a/models/report.go +++ b/models/report.go @@ -41,7 +41,7 @@ func (m *Report) GetAdditionalData()(map[string]any) { func (m *Report) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContent gets the content property value. The http content that has the data +// GetContent gets the content property value. Report content; details vary by report type. // returns a []byte when successful func (m *Report) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -124,7 +124,7 @@ func (m *Report) SetAdditionalData(value map[string]any)() { func (m *Report) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContent sets the content property value. The http content that has the data +// SetContent sets the content property value. Report content; details vary by report type. func (m *Report) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { diff --git a/models/restore_artifact_base.go b/models/restore_artifact_base.go new file mode 100644 index 00000000000..85d4dd76917 --- /dev/null +++ b/models/restore_artifact_base.go @@ -0,0 +1,286 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestoreArtifactBase struct { + Entity +} +// NewRestoreArtifactBase instantiates a new RestoreArtifactBase and sets the default values. +func NewRestoreArtifactBase()(*RestoreArtifactBase) { + m := &RestoreArtifactBase{ + Entity: *NewEntity(), + } + return m +} +// CreateRestoreArtifactBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestoreArtifactBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.driveRestoreArtifact": + return NewDriveRestoreArtifact(), nil + case "#microsoft.graph.mailboxRestoreArtifact": + return NewMailboxRestoreArtifact(), nil + case "#microsoft.graph.siteRestoreArtifact": + return NewSiteRestoreArtifact(), nil + } + } + } + } + return NewRestoreArtifactBase(), nil +} +// GetCompletionDateTime gets the completionDateTime property value. The time when restoration of restore artifact is completed. +// returns a *Time when successful +func (m *RestoreArtifactBase) GetCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("completionDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDestinationType gets the destinationType property value. Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. +// returns a *DestinationType when successful +func (m *RestoreArtifactBase) GetDestinationType()(*DestinationType) { + val, err := m.GetBackingStore().Get("destinationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DestinationType) + } + return nil +} +// GetError gets the error property value. Contains error details if the restore session fails or completes with an error. +// returns a PublicErrorable when successful +func (m *RestoreArtifactBase) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestoreArtifactBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["completionDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCompletionDateTime(val) + } + return nil + } + res["destinationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDestinationType) + if err != nil { + return err + } + if val != nil { + m.SetDestinationType(val.(*DestinationType)) + } + return nil + } + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["restorePoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRestorePointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRestorePoint(val.(RestorePointable)) + } + return nil + } + res["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetStartDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseArtifactRestoreStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ArtifactRestoreStatus)) + } + return nil + } + return res +} +// GetRestorePoint gets the restorePoint property value. Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a RestorePointable when successful +func (m *RestoreArtifactBase) GetRestorePoint()(RestorePointable) { + val, err := m.GetBackingStore().Get("restorePoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(RestorePointable) + } + return nil +} +// GetStartDateTime gets the startDateTime property value. The time when restoration of restore artifact is started. +// returns a *Time when successful +func (m *RestoreArtifactBase) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("startDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. The individual restoration status of the restore artifact. The possible values are: added, scheduling, scheduled, inProgress, succeeded, failed, unknownFutureValue. +// returns a *ArtifactRestoreStatus when successful +func (m *RestoreArtifactBase) GetStatus()(*ArtifactRestoreStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ArtifactRestoreStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *RestoreArtifactBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("completionDateTime", m.GetCompletionDateTime()) + if err != nil { + return err + } + } + if m.GetDestinationType() != nil { + cast := (*m.GetDestinationType()).String() + err = writer.WriteStringValue("destinationType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("restorePoint", m.GetRestorePoint()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("startDateTime", m.GetStartDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCompletionDateTime sets the completionDateTime property value. The time when restoration of restore artifact is completed. +func (m *RestoreArtifactBase) SetCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("completionDateTime", value) + if err != nil { + panic(err) + } +} +// SetDestinationType sets the destinationType property value. Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. +func (m *RestoreArtifactBase) SetDestinationType(value *DestinationType)() { + err := m.GetBackingStore().Set("destinationType", value) + if err != nil { + panic(err) + } +} +// SetError sets the error property value. Contains error details if the restore session fails or completes with an error. +func (m *RestoreArtifactBase) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetRestorePoint sets the restorePoint property value. Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +func (m *RestoreArtifactBase) SetRestorePoint(value RestorePointable)() { + err := m.GetBackingStore().Set("restorePoint", value) + if err != nil { + panic(err) + } +} +// SetStartDateTime sets the startDateTime property value. The time when restoration of restore artifact is started. +func (m *RestoreArtifactBase) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("startDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The individual restoration status of the restore artifact. The possible values are: added, scheduling, scheduled, inProgress, succeeded, failed, unknownFutureValue. +func (m *RestoreArtifactBase) SetStatus(value *ArtifactRestoreStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type RestoreArtifactBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDestinationType()(*DestinationType) + GetError()(PublicErrorable) + GetRestorePoint()(RestorePointable) + GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*ArtifactRestoreStatus) + SetCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDestinationType(value *DestinationType)() + SetError(value PublicErrorable)() + SetRestorePoint(value RestorePointable)() + SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *ArtifactRestoreStatus)() +} diff --git a/models/restore_point.go b/models/restore_point.go new file mode 100644 index 00000000000..da22fab22d4 --- /dev/null +++ b/models/restore_point.go @@ -0,0 +1,189 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestorePoint struct { + Entity +} +// NewRestorePoint instantiates a new RestorePoint and sets the default values. +func NewRestorePoint()(*RestorePoint) { + m := &RestorePoint{ + Entity: *NewEntity(), + } + return m +} +// CreateRestorePointFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestorePointFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestorePoint(), nil +} +// GetExpirationDateTime gets the expirationDateTime property value. Expiration date time of the restore point. +// returns a *Time when successful +func (m *RestorePoint) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("expirationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestorePoint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["expirationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetExpirationDateTime(val) + } + return nil + } + res["protectionDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetProtectionDateTime(val) + } + return nil + } + res["protectionUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProtectionUnitBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectionUnit(val.(ProtectionUnitBaseable)) + } + return nil + } + res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRestorePointTags) + if err != nil { + return err + } + if val != nil { + m.SetTags(val.(*RestorePointTags)) + } + return nil + } + return res +} +// GetProtectionDateTime gets the protectionDateTime property value. Date time when the restore point was created. +// returns a *Time when successful +func (m *RestorePoint) GetProtectionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("protectionDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetProtectionUnit gets the protectionUnit property value. The site, drive, or mailbox units that are protected under a protection policy. +// returns a ProtectionUnitBaseable when successful +func (m *RestorePoint) GetProtectionUnit()(ProtectionUnitBaseable) { + val, err := m.GetBackingStore().Get("protectionUnit") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProtectionUnitBaseable) + } + return nil +} +// GetTags gets the tags property value. The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. +// returns a *RestorePointTags when successful +func (m *RestorePoint) GetTags()(*RestorePointTags) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RestorePointTags) + } + return nil +} +// Serialize serializes information the current object +func (m *RestorePoint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("expirationDateTime", m.GetExpirationDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("protectionDateTime", m.GetProtectionDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("protectionUnit", m.GetProtectionUnit()) + if err != nil { + return err + } + } + if m.GetTags() != nil { + cast := (*m.GetTags()).String() + err = writer.WriteStringValue("tags", &cast) + if err != nil { + return err + } + } + return nil +} +// SetExpirationDateTime sets the expirationDateTime property value. Expiration date time of the restore point. +func (m *RestorePoint) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("expirationDateTime", value) + if err != nil { + panic(err) + } +} +// SetProtectionDateTime sets the protectionDateTime property value. Date time when the restore point was created. +func (m *RestorePoint) SetProtectionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("protectionDateTime", value) + if err != nil { + panic(err) + } +} +// SetProtectionUnit sets the protectionUnit property value. The site, drive, or mailbox units that are protected under a protection policy. +func (m *RestorePoint) SetProtectionUnit(value ProtectionUnitBaseable)() { + err := m.GetBackingStore().Set("protectionUnit", value) + if err != nil { + panic(err) + } +} +// SetTags sets the tags property value. The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. +func (m *RestorePoint) SetTags(value *RestorePointTags)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} +type RestorePointable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetProtectionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetProtectionUnit()(ProtectionUnitBaseable) + GetTags()(*RestorePointTags) + SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetProtectionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetProtectionUnit(value ProtectionUnitBaseable)() + SetTags(value *RestorePointTags)() +} diff --git a/models/restore_point_collection_response.go b/models/restore_point_collection_response.go new file mode 100644 index 00000000000..788ba31ef9b --- /dev/null +++ b/models/restore_point_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestorePointCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewRestorePointCollectionResponse instantiates a new RestorePointCollectionResponse and sets the default values. +func NewRestorePointCollectionResponse()(*RestorePointCollectionResponse) { + m := &RestorePointCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateRestorePointCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestorePointCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestorePointCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestorePointCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRestorePointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RestorePointable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RestorePointable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []RestorePointable when successful +func (m *RestorePointCollectionResponse) GetValue()([]RestorePointable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RestorePointable) + } + return nil +} +// Serialize serializes information the current object +func (m *RestorePointCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *RestorePointCollectionResponse) SetValue(value []RestorePointable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type RestorePointCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]RestorePointable) + SetValue(value []RestorePointable)() +} diff --git a/models/restore_point_preference.go b/models/restore_point_preference.go new file mode 100644 index 00000000000..127f41e84ce --- /dev/null +++ b/models/restore_point_preference.go @@ -0,0 +1,36 @@ +package models +type RestorePointPreference int + +const ( + LATEST_RESTOREPOINTPREFERENCE RestorePointPreference = iota + OLDEST_RESTOREPOINTPREFERENCE + UNKNOWNFUTUREVALUE_RESTOREPOINTPREFERENCE +) + +func (i RestorePointPreference) String() string { + return []string{"latest", "oldest", "unknownFutureValue"}[i] +} +func ParseRestorePointPreference(v string) (any, error) { + result := LATEST_RESTOREPOINTPREFERENCE + switch v { + case "latest": + result = LATEST_RESTOREPOINTPREFERENCE + case "oldest": + result = OLDEST_RESTOREPOINTPREFERENCE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_RESTOREPOINTPREFERENCE + default: + return nil, nil + } + return &result, nil +} +func SerializeRestorePointPreference(values []RestorePointPreference) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RestorePointPreference) isMultiValue() bool { + return false +} diff --git a/models/restore_point_search_response.go b/models/restore_point_search_response.go new file mode 100644 index 00000000000..9ba8aa0778d --- /dev/null +++ b/models/restore_point_search_response.go @@ -0,0 +1,242 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RestorePointSearchResponse struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRestorePointSearchResponse instantiates a new RestorePointSearchResponse and sets the default values. +func NewRestorePointSearchResponse()(*RestorePointSearchResponse) { + m := &RestorePointSearchResponse{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRestorePointSearchResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestorePointSearchResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestorePointSearchResponse(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *RestorePointSearchResponse) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RestorePointSearchResponse) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestorePointSearchResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["noResultProtectionUnitIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetNoResultProtectionUnitIds(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["searchResponseId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearchResponseId(val) + } + return nil + } + res["searchResults"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRestorePointSearchResultFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RestorePointSearchResultable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RestorePointSearchResultable) + } + } + m.SetSearchResults(res) + } + return nil + } + return res +} +// GetNoResultProtectionUnitIds gets the noResultProtectionUnitIds property value. Contains alist of protection units with no restore points. +// returns a []string when successful +func (m *RestorePointSearchResponse) GetNoResultProtectionUnitIds()([]string) { + val, err := m.GetBackingStore().Get("noResultProtectionUnitIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RestorePointSearchResponse) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSearchResponseId gets the searchResponseId property value. The unique identifier of the search response. +// returns a *string when successful +func (m *RestorePointSearchResponse) GetSearchResponseId()(*string) { + val, err := m.GetBackingStore().Get("searchResponseId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSearchResults gets the searchResults property value. Contains a collection of restore points. +// returns a []RestorePointSearchResultable when successful +func (m *RestorePointSearchResponse) GetSearchResults()([]RestorePointSearchResultable) { + val, err := m.GetBackingStore().Get("searchResults") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RestorePointSearchResultable) + } + return nil +} +// Serialize serializes information the current object +func (m *RestorePointSearchResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetNoResultProtectionUnitIds() != nil { + err := writer.WriteCollectionOfStringValues("noResultProtectionUnitIds", m.GetNoResultProtectionUnitIds()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("searchResponseId", m.GetSearchResponseId()) + if err != nil { + return err + } + } + if m.GetSearchResults() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSearchResults())) + for i, v := range m.GetSearchResults() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("searchResults", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *RestorePointSearchResponse) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RestorePointSearchResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetNoResultProtectionUnitIds sets the noResultProtectionUnitIds property value. Contains alist of protection units with no restore points. +func (m *RestorePointSearchResponse) SetNoResultProtectionUnitIds(value []string)() { + err := m.GetBackingStore().Set("noResultProtectionUnitIds", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RestorePointSearchResponse) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSearchResponseId sets the searchResponseId property value. The unique identifier of the search response. +func (m *RestorePointSearchResponse) SetSearchResponseId(value *string)() { + err := m.GetBackingStore().Set("searchResponseId", value) + if err != nil { + panic(err) + } +} +// SetSearchResults sets the searchResults property value. Contains a collection of restore points. +func (m *RestorePointSearchResponse) SetSearchResults(value []RestorePointSearchResultable)() { + err := m.GetBackingStore().Set("searchResults", value) + if err != nil { + panic(err) + } +} +type RestorePointSearchResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetNoResultProtectionUnitIds()([]string) + GetOdataType()(*string) + GetSearchResponseId()(*string) + GetSearchResults()([]RestorePointSearchResultable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetNoResultProtectionUnitIds(value []string)() + SetOdataType(value *string)() + SetSearchResponseId(value *string)() + SetSearchResults(value []RestorePointSearchResultable)() +} diff --git a/models/json.go b/models/restore_point_search_result.go similarity index 56% rename from models/json.go rename to models/restore_point_search_result.go index 1b1a381ed54..9bd433bbba5 100644 --- a/models/json.go +++ b/models/restore_point_search_result.go @@ -5,26 +5,26 @@ import ( ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -type Json struct { +type RestorePointSearchResult struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } -// NewJson instantiates a new Json and sets the default values. -func NewJson()(*Json) { - m := &Json{ +// NewRestorePointSearchResult instantiates a new RestorePointSearchResult and sets the default values. +func NewRestorePointSearchResult()(*RestorePointSearchResult) { + m := &RestorePointSearchResult{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m } -// CreateJsonFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateRestorePointSearchResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateJsonFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewJson(), nil +func CreateRestorePointSearchResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestorePointSearchResult(), nil } // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. // returns a map[string]any when successful -func (m *Json) GetAdditionalData()(map[string]any) { +func (m *RestorePointSearchResult) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) @@ -37,12 +37,12 @@ func (m *Json) GetAdditionalData()(map[string]any) { } // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful -func (m *Json) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { +func (m *RestorePointSearchResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *Json) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *RestorePointSearchResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() @@ -54,11 +54,21 @@ func (m *Json) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["restorePoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRestorePointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRestorePoint(val.(RestorePointable)) + } + return nil + } return res } // GetOdataType gets the @odata.type property value. The OdataType property // returns a *string when successful -func (m *Json) GetOdataType()(*string) { +func (m *RestorePointSearchResult) GetOdataType()(*string) { val, err := m.GetBackingStore().Get("odataType") if err != nil { panic(err) @@ -68,14 +78,32 @@ func (m *Json) GetOdataType()(*string) { } return nil } +// GetRestorePoint gets the restorePoint property value. The restorePoint property +// returns a RestorePointable when successful +func (m *RestorePointSearchResult) GetRestorePoint()(RestorePointable) { + val, err := m.GetBackingStore().Get("restorePoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(RestorePointable) + } + return nil +} // Serialize serializes information the current object -func (m *Json) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *RestorePointSearchResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { return err } } + { + err := writer.WriteObjectValue("restorePoint", m.GetRestorePoint()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -85,29 +113,38 @@ func (m *Json) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return nil } // SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *Json) SetAdditionalData(value map[string]any)() { +func (m *RestorePointSearchResult) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) if err != nil { panic(err) } } // SetBackingStore sets the BackingStore property value. Stores model information. -func (m *Json) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { +func (m *RestorePointSearchResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } // SetOdataType sets the @odata.type property value. The OdataType property -func (m *Json) SetOdataType(value *string)() { +func (m *RestorePointSearchResult) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) if err != nil { panic(err) } } -type Jsonable interface { +// SetRestorePoint sets the restorePoint property value. The restorePoint property +func (m *RestorePointSearchResult) SetRestorePoint(value RestorePointable)() { + err := m.GetBackingStore().Set("restorePoint", value) + if err != nil { + panic(err) + } +} +type RestorePointSearchResultable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetOdataType()(*string) + GetRestorePoint()(RestorePointable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetOdataType(value *string)() + SetRestorePoint(value RestorePointable)() } diff --git a/models/restore_point_tags.go b/models/restore_point_tags.go new file mode 100644 index 00000000000..7bfd84bfcd9 --- /dev/null +++ b/models/restore_point_tags.go @@ -0,0 +1,51 @@ +package models +import ( + "math" + "strings" +) +type RestorePointTags int + +const ( + NONE_RESTOREPOINTTAGS = 1 + FASTRESTORE_RESTOREPOINTTAGS = 2 + UNKNOWNFUTUREVALUE_RESTOREPOINTTAGS = 4 +) + +func (i RestorePointTags) String() string { + var values []string + options := []string{"none", "fastRestore", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := RestorePointTags(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseRestorePointTags(v string) (any, error) { + var result RestorePointTags + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_RESTOREPOINTTAGS + case "fastRestore": + result |= FASTRESTORE_RESTOREPOINTTAGS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_RESTOREPOINTTAGS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeRestorePointTags(values []RestorePointTags) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RestorePointTags) isMultiValue() bool { + return true +} diff --git a/models/restore_session_base.go b/models/restore_session_base.go new file mode 100644 index 00000000000..a658bc5cbf0 --- /dev/null +++ b/models/restore_session_base.go @@ -0,0 +1,322 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestoreSessionBase struct { + Entity +} +// NewRestoreSessionBase instantiates a new RestoreSessionBase and sets the default values. +func NewRestoreSessionBase()(*RestoreSessionBase) { + m := &RestoreSessionBase{ + Entity: *NewEntity(), + } + return m +} +// CreateRestoreSessionBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestoreSessionBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.exchangeRestoreSession": + return NewExchangeRestoreSession(), nil + case "#microsoft.graph.oneDriveForBusinessRestoreSession": + return NewOneDriveForBusinessRestoreSession(), nil + case "#microsoft.graph.sharePointRestoreSession": + return NewSharePointRestoreSession(), nil + } + } + } + } + return NewRestoreSessionBase(), nil +} +// GetCompletedDateTime gets the completedDateTime property value. The time of completion of the restore session. +// returns a *Time when successful +func (m *RestoreSessionBase) GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("completedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetCreatedBy gets the createdBy property value. The identity of person who created the restore session. +// returns a IdentitySetable when successful +func (m *RestoreSessionBase) GetCreatedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("createdBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The time of creation of the restore session. +// returns a *Time when successful +func (m *RestoreSessionBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetError gets the error property value. Contains error details if the restore session fails or completes with an error. +// returns a PublicErrorable when successful +func (m *RestoreSessionBase) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestoreSessionBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["completedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCompletedDateTime(val) + } + return nil + } + res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreatedBy(val.(IdentitySetable)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedBy(val.(IdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRestoreSessionStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*RestoreSessionStatus)) + } + return nil + } + return res +} +// GetLastModifiedBy gets the lastModifiedBy property value. Identity of the person who last modified the restore session. +// returns a IdentitySetable when successful +func (m *RestoreSessionBase) GetLastModifiedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("lastModifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of the last modification of the restore session. +// returns a *Time when successful +func (m *RestoreSessionBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +// returns a *RestoreSessionStatus when successful +func (m *RestoreSessionBase) GetStatus()(*RestoreSessionStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RestoreSessionStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *RestoreSessionBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("completedDateTime", m.GetCompletedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCompletedDateTime sets the completedDateTime property value. The time of completion of the restore session. +func (m *RestoreSessionBase) SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("completedDateTime", value) + if err != nil { + panic(err) + } +} +// SetCreatedBy sets the createdBy property value. The identity of person who created the restore session. +func (m *RestoreSessionBase) SetCreatedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("createdBy", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The time of creation of the restore session. +func (m *RestoreSessionBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetError sets the error property value. Contains error details if the restore session fails or completes with an error. +func (m *RestoreSessionBase) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedBy sets the lastModifiedBy property value. Identity of the person who last modified the restore session. +func (m *RestoreSessionBase) SetLastModifiedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("lastModifiedBy", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of the last modification of the restore session. +func (m *RestoreSessionBase) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +func (m *RestoreSessionBase) SetStatus(value *RestoreSessionStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type RestoreSessionBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetCreatedBy()(IdentitySetable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetError()(PublicErrorable) + GetLastModifiedBy()(IdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*RestoreSessionStatus) + SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetCreatedBy(value IdentitySetable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetError(value PublicErrorable)() + SetLastModifiedBy(value IdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *RestoreSessionStatus)() +} diff --git a/models/restore_session_base_collection_response.go b/models/restore_session_base_collection_response.go new file mode 100644 index 00000000000..76fee50e05e --- /dev/null +++ b/models/restore_session_base_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestoreSessionBaseCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewRestoreSessionBaseCollectionResponse instantiates a new RestoreSessionBaseCollectionResponse and sets the default values. +func NewRestoreSessionBaseCollectionResponse()(*RestoreSessionBaseCollectionResponse) { + m := &RestoreSessionBaseCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateRestoreSessionBaseCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestoreSessionBaseCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestoreSessionBaseCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestoreSessionBaseCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRestoreSessionBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]RestoreSessionBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(RestoreSessionBaseable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []RestoreSessionBaseable when successful +func (m *RestoreSessionBaseCollectionResponse) GetValue()([]RestoreSessionBaseable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]RestoreSessionBaseable) + } + return nil +} +// Serialize serializes information the current object +func (m *RestoreSessionBaseCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *RestoreSessionBaseCollectionResponse) SetValue(value []RestoreSessionBaseable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type RestoreSessionBaseCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]RestoreSessionBaseable) + SetValue(value []RestoreSessionBaseable)() +} diff --git a/models/restore_session_status.go b/models/restore_session_status.go new file mode 100644 index 00000000000..c15a42064d9 --- /dev/null +++ b/models/restore_session_status.go @@ -0,0 +1,48 @@ +package models +type RestoreSessionStatus int + +const ( + DRAFT_RESTORESESSIONSTATUS RestoreSessionStatus = iota + ACTIVATING_RESTORESESSIONSTATUS + ACTIVE_RESTORESESSIONSTATUS + COMPLETEDWITHERROR_RESTORESESSIONSTATUS + COMPLETED_RESTORESESSIONSTATUS + UNKNOWNFUTUREVALUE_RESTORESESSIONSTATUS + FAILED_RESTORESESSIONSTATUS +) + +func (i RestoreSessionStatus) String() string { + return []string{"draft", "activating", "active", "completedWithError", "completed", "unknownFutureValue", "failed"}[i] +} +func ParseRestoreSessionStatus(v string) (any, error) { + result := DRAFT_RESTORESESSIONSTATUS + switch v { + case "draft": + result = DRAFT_RESTORESESSIONSTATUS + case "activating": + result = ACTIVATING_RESTORESESSIONSTATUS + case "active": + result = ACTIVE_RESTORESESSIONSTATUS + case "completedWithError": + result = COMPLETEDWITHERROR_RESTORESESSIONSTATUS + case "completed": + result = COMPLETED_RESTORESESSIONSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_RESTORESESSIONSTATUS + case "failed": + result = FAILED_RESTORESESSIONSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeRestoreSessionStatus(values []RestoreSessionStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RestoreSessionStatus) isMultiValue() bool { + return false +} diff --git a/models/retention_setting.go b/models/retention_setting.go new file mode 100644 index 00000000000..9f0d88d60a2 --- /dev/null +++ b/models/retention_setting.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RetentionSetting struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRetentionSetting instantiates a new RetentionSetting and sets the default values. +func NewRetentionSetting()(*RetentionSetting) { + m := &RetentionSetting{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRetentionSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRetentionSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRetentionSetting(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *RetentionSetting) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RetentionSetting) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RetentionSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["interval"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetInterval(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetISODurationValue() + if err != nil { + return err + } + if val != nil { + m.SetPeriod(val) + } + return nil + } + return res +} +// GetInterval gets the interval property value. The frequency of the backup. +// returns a *string when successful +func (m *RetentionSetting) GetInterval()(*string) { + val, err := m.GetBackingStore().Get("interval") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RetentionSetting) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPeriod gets the period property value. The period of time to retain the protected data for a single Microsoft 365 service. +// returns a *ISODuration when successful +func (m *RetentionSetting) GetPeriod()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { + val, err := m.GetBackingStore().Get("period") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) + } + return nil +} +// Serialize serializes information the current object +func (m *RetentionSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("interval", m.GetInterval()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteISODurationValue("period", m.GetPeriod()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *RetentionSetting) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RetentionSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetInterval sets the interval property value. The frequency of the backup. +func (m *RetentionSetting) SetInterval(value *string)() { + err := m.GetBackingStore().Set("interval", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RetentionSetting) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPeriod sets the period property value. The period of time to retain the protected data for a single Microsoft 365 service. +func (m *RetentionSetting) SetPeriod(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { + err := m.GetBackingStore().Set("period", value) + if err != nil { + panic(err) + } +} +type RetentionSettingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetInterval()(*string) + GetOdataType()(*string) + GetPeriod()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetInterval(value *string)() + SetOdataType(value *string)() + SetPeriod(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() +} diff --git a/models/scope_sensitivity_labels.go b/models/scope_sensitivity_labels.go new file mode 100644 index 00000000000..052a1805302 --- /dev/null +++ b/models/scope_sensitivity_labels.go @@ -0,0 +1,171 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ScopeSensitivityLabels struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewScopeSensitivityLabels instantiates a new ScopeSensitivityLabels and sets the default values. +func NewScopeSensitivityLabels()(*ScopeSensitivityLabels) { + m := &ScopeSensitivityLabels{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateScopeSensitivityLabelsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateScopeSensitivityLabelsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.allScopeSensitivityLabels": + return NewAllScopeSensitivityLabels(), nil + case "#microsoft.graph.enumeratedScopeSensitivityLabels": + return NewEnumeratedScopeSensitivityLabels(), nil + } + } + } + } + return NewScopeSensitivityLabels(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ScopeSensitivityLabels) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ScopeSensitivityLabels) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ScopeSensitivityLabels) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["labelKind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseLabelKind) + if err != nil { + return err + } + if val != nil { + m.SetLabelKind(val.(*LabelKind)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetLabelKind gets the labelKind property value. Indicates the kind of sensitivity label that is included. Possible values: all means all sensitivity labels are allowed, or enumerated means a selected set of sensitivity labels from a single resource application are allowed. Required. +// returns a *LabelKind when successful +func (m *ScopeSensitivityLabels) GetLabelKind()(*LabelKind) { + val, err := m.GetBackingStore().Get("labelKind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*LabelKind) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ScopeSensitivityLabels) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ScopeSensitivityLabels) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLabelKind() != nil { + cast := (*m.GetLabelKind()).String() + err := writer.WriteStringValue("labelKind", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ScopeSensitivityLabels) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ScopeSensitivityLabels) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLabelKind sets the labelKind property value. Indicates the kind of sensitivity label that is included. Possible values: all means all sensitivity labels are allowed, or enumerated means a selected set of sensitivity labels from a single resource application are allowed. Required. +func (m *ScopeSensitivityLabels) SetLabelKind(value *LabelKind)() { + err := m.GetBackingStore().Set("labelKind", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ScopeSensitivityLabels) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ScopeSensitivityLabelsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLabelKind()(*LabelKind) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLabelKind(value *LabelKind)() + SetOdataType(value *string)() +} diff --git a/models/security/threat_submission.go b/models/security/threat_submission.go index 66f0db04770..e43d762ded8 100644 --- a/models/security/threat_submission.go +++ b/models/security/threat_submission.go @@ -75,7 +75,7 @@ func (m *ThreatSubmission) GetCategory()(*SubmissionCategory) { } return nil } -// GetClientSource gets the clientSource property value. Specifies the source of the submission. The possible values are: microsoft, other and unkownFutureValue. +// GetClientSource gets the clientSource property value. Specifies the source of the submission. The possible values are: microsoft, other, and unkownFutureValue. // returns a *SubmissionClientSource when successful func (m *ThreatSubmission) GetClientSource()(*SubmissionClientSource) { val, err := m.GetBackingStore().Get("clientSource") @@ -87,7 +87,7 @@ func (m *ThreatSubmission) GetClientSource()(*SubmissionClientSource) { } return nil } -// GetContentType gets the contentType property value. Specifies the type of content being submitted. The possible values are: email, url, file, app and unkownFutureValue. +// GetContentType gets the contentType property value. Specifies the type of content being submitted. The possible values are: email, url, file, app, and unkownFutureValue. // returns a *SubmissionContentType when successful func (m *ThreatSubmission) GetContentType()(*SubmissionContentType) { val, err := m.GetBackingStore().Get("contentType") @@ -241,7 +241,7 @@ func (m *ThreatSubmission) GetResult()(SubmissionResultable) { } return nil } -// GetSource gets the source property value. Specifies the role of the submitter. Supports $filter = source eq 'value'. The possible values are: administrator, user and unkownFutureValue. +// GetSource gets the source property value. Specifies the role of the submitter. Supports $filter = source eq 'value'. The possible values are: administrator, user, and unkownFutureValue. // returns a *SubmissionSource when successful func (m *ThreatSubmission) GetSource()(*SubmissionSource) { val, err := m.GetBackingStore().Get("source") @@ -253,7 +253,7 @@ func (m *ThreatSubmission) GetSource()(*SubmissionSource) { } return nil } -// GetStatus gets the status property value. Indicates whether the threat submission has been analyzed by Microsoft. Supports $filter = status eq 'value'. The possible values are: notStarted, running, succeeded, failed, skipped and unkownFutureValue. +// GetStatus gets the status property value. Indicates whether the threat submission has been analyzed by Microsoft. Supports $filter = status eq 'value'. The possible values are: notStarted, running, succeeded, failed, skipped, and unkownFutureValue. // returns a *LongRunningOperationStatus when successful func (m *ThreatSubmission) GetStatus()(*LongRunningOperationStatus) { val, err := m.GetBackingStore().Get("status") @@ -364,14 +364,14 @@ func (m *ThreatSubmission) SetCategory(value *SubmissionCategory)() { panic(err) } } -// SetClientSource sets the clientSource property value. Specifies the source of the submission. The possible values are: microsoft, other and unkownFutureValue. +// SetClientSource sets the clientSource property value. Specifies the source of the submission. The possible values are: microsoft, other, and unkownFutureValue. func (m *ThreatSubmission) SetClientSource(value *SubmissionClientSource)() { err := m.GetBackingStore().Set("clientSource", value) if err != nil { panic(err) } } -// SetContentType sets the contentType property value. Specifies the type of content being submitted. The possible values are: email, url, file, app and unkownFutureValue. +// SetContentType sets the contentType property value. Specifies the type of content being submitted. The possible values are: email, url, file, app, and unkownFutureValue. func (m *ThreatSubmission) SetContentType(value *SubmissionContentType)() { err := m.GetBackingStore().Set("contentType", value) if err != nil { @@ -399,14 +399,14 @@ func (m *ThreatSubmission) SetResult(value SubmissionResultable)() { panic(err) } } -// SetSource sets the source property value. Specifies the role of the submitter. Supports $filter = source eq 'value'. The possible values are: administrator, user and unkownFutureValue. +// SetSource sets the source property value. Specifies the role of the submitter. Supports $filter = source eq 'value'. The possible values are: administrator, user, and unkownFutureValue. func (m *ThreatSubmission) SetSource(value *SubmissionSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. Indicates whether the threat submission has been analyzed by Microsoft. Supports $filter = status eq 'value'. The possible values are: notStarted, running, succeeded, failed, skipped and unkownFutureValue. +// SetStatus sets the status property value. Indicates whether the threat submission has been analyzed by Microsoft. Supports $filter = status eq 'value'. The possible values are: notStarted, running, succeeded, failed, skipped, and unkownFutureValue. func (m *ThreatSubmission) SetStatus(value *LongRunningOperationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/service_app.go b/models/service_app.go new file mode 100644 index 00000000000..5bbb84c96d7 --- /dev/null +++ b/models/service_app.go @@ -0,0 +1,263 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ServiceApp struct { + Entity +} +// NewServiceApp instantiates a new ServiceApp and sets the default values. +func NewServiceApp()(*ServiceApp) { + m := &ServiceApp{ + Entity: *NewEntity(), + } + return m +} +// CreateServiceAppFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateServiceAppFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewServiceApp(), nil +} +// GetApplication gets the application property value. The Entra ID application ID. +// returns a Identityable when successful +func (m *ServiceApp) GetApplication()(Identityable) { + val, err := m.GetBackingStore().Get("application") + if err != nil { + panic(err) + } + if val != nil { + return val.(Identityable) + } + return nil +} +// GetEffectiveDateTime gets the effectiveDateTime property value. Timestamp of the effective activation of the service app. +// returns a *Time when successful +func (m *ServiceApp) GetEffectiveDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("effectiveDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ServiceApp) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["application"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetApplication(val.(Identityable)) + } + return nil + } + res["effectiveDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEffectiveDateTime(val) + } + return nil + } + res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedBy(val.(IdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["registrationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRegistrationDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseServiceAppStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ServiceAppStatus)) + } + return nil + } + return res +} +// GetLastModifiedBy gets the lastModifiedBy property value. Identity of the person who last modified the entity. +// returns a IdentitySetable when successful +func (m *ServiceApp) GetLastModifiedBy()(IdentitySetable) { + val, err := m.GetBackingStore().Get("lastModifiedBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of the last modification of the entity. +// returns a *Time when successful +func (m *ServiceApp) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRegistrationDateTime gets the registrationDateTime property value. Timestamp of the creation of the service app entity. +// returns a *Time when successful +func (m *ServiceApp) GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("registrationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. The status of the service app. This value indicates whether or not the application can be used to control the backup service. The possible values are: inactive, active, pendingActive, pendingInactive, unknownFutureValue. +// returns a *ServiceAppStatus when successful +func (m *ServiceApp) GetStatus()(*ServiceAppStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ServiceAppStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *ServiceApp) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("application", m.GetApplication()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("effectiveDateTime", m.GetEffectiveDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("registrationDateTime", m.GetRegistrationDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetApplication sets the application property value. The Entra ID application ID. +func (m *ServiceApp) SetApplication(value Identityable)() { + err := m.GetBackingStore().Set("application", value) + if err != nil { + panic(err) + } +} +// SetEffectiveDateTime sets the effectiveDateTime property value. Timestamp of the effective activation of the service app. +func (m *ServiceApp) SetEffectiveDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("effectiveDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedBy sets the lastModifiedBy property value. Identity of the person who last modified the entity. +func (m *ServiceApp) SetLastModifiedBy(value IdentitySetable)() { + err := m.GetBackingStore().Set("lastModifiedBy", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of the last modification of the entity. +func (m *ServiceApp) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetRegistrationDateTime sets the registrationDateTime property value. Timestamp of the creation of the service app entity. +func (m *ServiceApp) SetRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("registrationDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status of the service app. This value indicates whether or not the application can be used to control the backup service. The possible values are: inactive, active, pendingActive, pendingInactive, unknownFutureValue. +func (m *ServiceApp) SetStatus(value *ServiceAppStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type ServiceAppable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplication()(Identityable) + GetEffectiveDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastModifiedBy()(IdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*ServiceAppStatus) + SetApplication(value Identityable)() + SetEffectiveDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastModifiedBy(value IdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *ServiceAppStatus)() +} diff --git a/models/service_app_collection_response.go b/models/service_app_collection_response.go new file mode 100644 index 00000000000..bfbafe26e4d --- /dev/null +++ b/models/service_app_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ServiceAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewServiceAppCollectionResponse instantiates a new ServiceAppCollectionResponse and sets the default values. +func NewServiceAppCollectionResponse()(*ServiceAppCollectionResponse) { + m := &ServiceAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateServiceAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateServiceAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewServiceAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ServiceAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateServiceAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ServiceAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ServiceAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ServiceAppable when successful +func (m *ServiceAppCollectionResponse) GetValue()([]ServiceAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ServiceAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *ServiceAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ServiceAppCollectionResponse) SetValue(value []ServiceAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ServiceAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ServiceAppable) + SetValue(value []ServiceAppable)() +} diff --git a/models/service_app_status.go b/models/service_app_status.go new file mode 100644 index 00000000000..bd2168e7ac1 --- /dev/null +++ b/models/service_app_status.go @@ -0,0 +1,42 @@ +package models +type ServiceAppStatus int + +const ( + INACTIVE_SERVICEAPPSTATUS ServiceAppStatus = iota + ACTIVE_SERVICEAPPSTATUS + PENDINGACTIVE_SERVICEAPPSTATUS + PENDINGINACTIVE_SERVICEAPPSTATUS + UNKNOWNFUTUREVALUE_SERVICEAPPSTATUS +) + +func (i ServiceAppStatus) String() string { + return []string{"inactive", "active", "pendingActive", "pendingInactive", "unknownFutureValue"}[i] +} +func ParseServiceAppStatus(v string) (any, error) { + result := INACTIVE_SERVICEAPPSTATUS + switch v { + case "inactive": + result = INACTIVE_SERVICEAPPSTATUS + case "active": + result = ACTIVE_SERVICEAPPSTATUS + case "pendingActive": + result = PENDINGACTIVE_SERVICEAPPSTATUS + case "pendingInactive": + result = PENDINGINACTIVE_SERVICEAPPSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SERVICEAPPSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeServiceAppStatus(values []ServiceAppStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ServiceAppStatus) isMultiValue() bool { + return false +} diff --git a/models/service_principal.go b/models/service_principal.go index 3cf7b08f1d9..ce6179d20da 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -825,6 +825,22 @@ func (m *ServicePrincipal) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["permissionGrantPreApprovalPolicies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PermissionGrantPreApprovalPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PermissionGrantPreApprovalPolicyable) + } + } + m.SetPermissionGrantPreApprovalPolicies(res) + } + return nil + } res["preferredSingleSignOnMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -1239,6 +1255,18 @@ func (m *ServicePrincipal) GetPasswordSingleSignOnSettings()(PasswordSingleSignO } return nil } +// GetPermissionGrantPreApprovalPolicies gets the permissionGrantPreApprovalPolicies property value. The permissionGrantPreApprovalPolicies property +// returns a []PermissionGrantPreApprovalPolicyable when successful +func (m *ServicePrincipal) GetPermissionGrantPreApprovalPolicies()([]PermissionGrantPreApprovalPolicyable) { + val, err := m.GetBackingStore().Get("permissionGrantPreApprovalPolicies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PermissionGrantPreApprovalPolicyable) + } + return nil +} // GetPreferredSingleSignOnMode gets the preferredSingleSignOnMode property value. Specifies the single sign-on mode configured for this application. Microsoft Entra ID uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Microsoft Entra My Apps. The supported values are password, saml, notSupported, and oidc. // returns a *string when successful func (m *ServicePrincipal) GetPreferredSingleSignOnMode()(*string) { @@ -1815,6 +1843,18 @@ func (m *ServicePrincipal) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + if m.GetPermissionGrantPreApprovalPolicies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissionGrantPreApprovalPolicies())) + for i, v := range m.GetPermissionGrantPreApprovalPolicies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("permissionGrantPreApprovalPolicies", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("preferredSingleSignOnMode", m.GetPreferredSingleSignOnMode()) if err != nil { @@ -2228,6 +2268,13 @@ func (m *ServicePrincipal) SetPasswordSingleSignOnSettings(value PasswordSingleS panic(err) } } +// SetPermissionGrantPreApprovalPolicies sets the permissionGrantPreApprovalPolicies property value. The permissionGrantPreApprovalPolicies property +func (m *ServicePrincipal) SetPermissionGrantPreApprovalPolicies(value []PermissionGrantPreApprovalPolicyable)() { + err := m.GetBackingStore().Set("permissionGrantPreApprovalPolicies", value) + if err != nil { + panic(err) + } +} // SetPreferredSingleSignOnMode sets the preferredSingleSignOnMode property value. Specifies the single sign-on mode configured for this application. Microsoft Entra ID uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Microsoft Entra My Apps. The supported values are password, saml, notSupported, and oidc. func (m *ServicePrincipal) SetPreferredSingleSignOnMode(value *string)() { err := m.GetBackingStore().Set("preferredSingleSignOnMode", value) @@ -2403,6 +2450,7 @@ type ServicePrincipalable interface { GetOwners()([]DirectoryObjectable) GetPasswordCredentials()([]PasswordCredentialable) GetPasswordSingleSignOnSettings()(PasswordSingleSignOnSettingsable) + GetPermissionGrantPreApprovalPolicies()([]PermissionGrantPreApprovalPolicyable) GetPreferredSingleSignOnMode()(*string) GetPreferredTokenSigningKeyEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPreferredTokenSigningKeyThumbprint()(*string) @@ -2461,6 +2509,7 @@ type ServicePrincipalable interface { SetOwners(value []DirectoryObjectable)() SetPasswordCredentials(value []PasswordCredentialable)() SetPasswordSingleSignOnSettings(value PasswordSingleSignOnSettingsable)() + SetPermissionGrantPreApprovalPolicies(value []PermissionGrantPreApprovalPolicyable)() SetPreferredSingleSignOnMode(value *string)() SetPreferredTokenSigningKeyEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPreferredTokenSigningKeyThumbprint(value *string)() diff --git a/models/service_status.go b/models/service_status.go new file mode 100644 index 00000000000..b6996ef50e7 --- /dev/null +++ b/models/service_status.go @@ -0,0 +1,302 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ServiceStatus struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewServiceStatus instantiates a new ServiceStatus and sets the default values. +func NewServiceStatus()(*ServiceStatus) { + m := &ServiceStatus{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateServiceStatusFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateServiceStatusFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewServiceStatus(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ServiceStatus) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ServiceStatus) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBackupServiceConsumer gets the backupServiceConsumer property value. The type of consumer. The possible values are: unknown, firstparty, thirdparty, unknownFutureValue. +// returns a *BackupServiceConsumer when successful +func (m *ServiceStatus) GetBackupServiceConsumer()(*BackupServiceConsumer) { + val, err := m.GetBackingStore().Get("backupServiceConsumer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*BackupServiceConsumer) + } + return nil +} +// GetDisableReason gets the disableReason property value. The reason the service is disabled. The possible values are: none, invalidBillingProfile, userRequested, unknownFutureValue. +// returns a *DisableReason when successful +func (m *ServiceStatus) GetDisableReason()(*DisableReason) { + val, err := m.GetBackingStore().Get("disableReason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DisableReason) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ServiceStatus) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["backupServiceConsumer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseBackupServiceConsumer) + if err != nil { + return err + } + if val != nil { + m.SetBackupServiceConsumer(val.(*BackupServiceConsumer)) + } + return nil + } + res["disableReason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDisableReason) + if err != nil { + return err + } + if val != nil { + m.SetDisableReason(val.(*DisableReason)) + } + return nil + } + res["gracePeriodDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetGracePeriodDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["restoreAllowedTillDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoreAllowedTillDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseBackupServiceStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*BackupServiceStatus)) + } + return nil + } + return res +} +// GetGracePeriodDateTime gets the gracePeriodDateTime property value. The expiration time of the grace period. +// returns a *Time when successful +func (m *ServiceStatus) GetGracePeriodDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("gracePeriodDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ServiceStatus) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoreAllowedTillDateTime gets the restoreAllowedTillDateTime property value. The expiration time of the restoration allowed period. +// returns a *Time when successful +func (m *ServiceStatus) GetRestoreAllowedTillDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restoreAllowedTillDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. Status of the service. This value indicates what capabilities can be used. The possible values are: disabled, enabled, protectionChangeLocked, restoreLocked, unknownFutureValue. +// returns a *BackupServiceStatus when successful +func (m *ServiceStatus) GetStatus()(*BackupServiceStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*BackupServiceStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *ServiceStatus) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetBackupServiceConsumer() != nil { + cast := (*m.GetBackupServiceConsumer()).String() + err := writer.WriteStringValue("backupServiceConsumer", &cast) + if err != nil { + return err + } + } + if m.GetDisableReason() != nil { + cast := (*m.GetDisableReason()).String() + err := writer.WriteStringValue("disableReason", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("gracePeriodDateTime", m.GetGracePeriodDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restoreAllowedTillDateTime", m.GetRestoreAllowedTillDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err := writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ServiceStatus) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ServiceStatus) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBackupServiceConsumer sets the backupServiceConsumer property value. The type of consumer. The possible values are: unknown, firstparty, thirdparty, unknownFutureValue. +func (m *ServiceStatus) SetBackupServiceConsumer(value *BackupServiceConsumer)() { + err := m.GetBackingStore().Set("backupServiceConsumer", value) + if err != nil { + panic(err) + } +} +// SetDisableReason sets the disableReason property value. The reason the service is disabled. The possible values are: none, invalidBillingProfile, userRequested, unknownFutureValue. +func (m *ServiceStatus) SetDisableReason(value *DisableReason)() { + err := m.GetBackingStore().Set("disableReason", value) + if err != nil { + panic(err) + } +} +// SetGracePeriodDateTime sets the gracePeriodDateTime property value. The expiration time of the grace period. +func (m *ServiceStatus) SetGracePeriodDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("gracePeriodDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ServiceStatus) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRestoreAllowedTillDateTime sets the restoreAllowedTillDateTime property value. The expiration time of the restoration allowed period. +func (m *ServiceStatus) SetRestoreAllowedTillDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restoreAllowedTillDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. Status of the service. This value indicates what capabilities can be used. The possible values are: disabled, enabled, protectionChangeLocked, restoreLocked, unknownFutureValue. +func (m *ServiceStatus) SetStatus(value *BackupServiceStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type ServiceStatusable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBackupServiceConsumer()(*BackupServiceConsumer) + GetDisableReason()(*DisableReason) + GetGracePeriodDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetRestoreAllowedTillDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*BackupServiceStatus) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBackupServiceConsumer(value *BackupServiceConsumer)() + SetDisableReason(value *DisableReason)() + SetGracePeriodDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetRestoreAllowedTillDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *BackupServiceStatus)() +} diff --git a/models/share_point_protection_policy.go b/models/share_point_protection_policy.go new file mode 100644 index 00000000000..4328d1714cc --- /dev/null +++ b/models/share_point_protection_policy.go @@ -0,0 +1,139 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointProtectionPolicy struct { + ProtectionPolicyBase +} +// NewSharePointProtectionPolicy instantiates a new SharePointProtectionPolicy and sets the default values. +func NewSharePointProtectionPolicy()(*SharePointProtectionPolicy) { + m := &SharePointProtectionPolicy{ + ProtectionPolicyBase: *NewProtectionPolicyBase(), + } + odataTypeValue := "#microsoft.graph.sharePointProtectionPolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSharePointProtectionPolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointProtectionPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointProtectionPolicy(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointProtectionPolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionPolicyBase.GetFieldDeserializers() + res["siteInclusionRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionRuleable) + } + } + m.SetSiteInclusionRules(res) + } + return nil + } + res["siteProtectionUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionUnitable) + } + } + m.SetSiteProtectionUnits(res) + } + return nil + } + return res +} +// GetSiteInclusionRules gets the siteInclusionRules property value. The rules associated with the SharePoint Protection policy. +// returns a []SiteProtectionRuleable when successful +func (m *SharePointProtectionPolicy) GetSiteInclusionRules()([]SiteProtectionRuleable) { + val, err := m.GetBackingStore().Get("siteInclusionRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionRuleable) + } + return nil +} +// GetSiteProtectionUnits gets the siteProtectionUnits property value. The protection units (sites) that are protected under the site protection policy. +// returns a []SiteProtectionUnitable when successful +func (m *SharePointProtectionPolicy) GetSiteProtectionUnits()([]SiteProtectionUnitable) { + val, err := m.GetBackingStore().Get("siteProtectionUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointProtectionPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionPolicyBase.Serialize(writer) + if err != nil { + return err + } + if m.GetSiteInclusionRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSiteInclusionRules())) + for i, v := range m.GetSiteInclusionRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("siteInclusionRules", cast) + if err != nil { + return err + } + } + if m.GetSiteProtectionUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSiteProtectionUnits())) + for i, v := range m.GetSiteProtectionUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("siteProtectionUnits", cast) + if err != nil { + return err + } + } + return nil +} +// SetSiteInclusionRules sets the siteInclusionRules property value. The rules associated with the SharePoint Protection policy. +func (m *SharePointProtectionPolicy) SetSiteInclusionRules(value []SiteProtectionRuleable)() { + err := m.GetBackingStore().Set("siteInclusionRules", value) + if err != nil { + panic(err) + } +} +// SetSiteProtectionUnits sets the siteProtectionUnits property value. The protection units (sites) that are protected under the site protection policy. +func (m *SharePointProtectionPolicy) SetSiteProtectionUnits(value []SiteProtectionUnitable)() { + err := m.GetBackingStore().Set("siteProtectionUnits", value) + if err != nil { + panic(err) + } +} +type SharePointProtectionPolicyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionPolicyBaseable + GetSiteInclusionRules()([]SiteProtectionRuleable) + GetSiteProtectionUnits()([]SiteProtectionUnitable) + SetSiteInclusionRules(value []SiteProtectionRuleable)() + SetSiteProtectionUnits(value []SiteProtectionUnitable)() +} diff --git a/models/share_point_protection_policy_collection_response.go b/models/share_point_protection_policy_collection_response.go new file mode 100644 index 00000000000..2d3bc72ab44 --- /dev/null +++ b/models/share_point_protection_policy_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointProtectionPolicyCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointProtectionPolicyCollectionResponse instantiates a new SharePointProtectionPolicyCollectionResponse and sets the default values. +func NewSharePointProtectionPolicyCollectionResponse()(*SharePointProtectionPolicyCollectionResponse) { + m := &SharePointProtectionPolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointProtectionPolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointProtectionPolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointProtectionPolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointProtectionPolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointProtectionPolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointProtectionPolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointProtectionPolicyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointProtectionPolicyable when successful +func (m *SharePointProtectionPolicyCollectionResponse) GetValue()([]SharePointProtectionPolicyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointProtectionPolicyable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointProtectionPolicyCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointProtectionPolicyCollectionResponse) SetValue(value []SharePointProtectionPolicyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointProtectionPolicyCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointProtectionPolicyable) + SetValue(value []SharePointProtectionPolicyable)() +} diff --git a/models/share_point_restore_session.go b/models/share_point_restore_session.go new file mode 100644 index 00000000000..aa9d25148e9 --- /dev/null +++ b/models/share_point_restore_session.go @@ -0,0 +1,90 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointRestoreSession struct { + RestoreSessionBase +} +// NewSharePointRestoreSession instantiates a new SharePointRestoreSession and sets the default values. +func NewSharePointRestoreSession()(*SharePointRestoreSession) { + m := &SharePointRestoreSession{ + RestoreSessionBase: *NewRestoreSessionBase(), + } + odataTypeValue := "#microsoft.graph.sharePointRestoreSession" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSharePointRestoreSessionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointRestoreSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointRestoreSession(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointRestoreSession) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreSessionBase.GetFieldDeserializers() + res["siteRestoreArtifacts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteRestoreArtifactable) + } + } + m.SetSiteRestoreArtifacts(res) + } + return nil + } + return res +} +// GetSiteRestoreArtifacts gets the siteRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore SharePoint sites. +// returns a []SiteRestoreArtifactable when successful +func (m *SharePointRestoreSession) GetSiteRestoreArtifacts()([]SiteRestoreArtifactable) { + val, err := m.GetBackingStore().Get("siteRestoreArtifacts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteRestoreArtifactable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointRestoreSession) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreSessionBase.Serialize(writer) + if err != nil { + return err + } + if m.GetSiteRestoreArtifacts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSiteRestoreArtifacts())) + for i, v := range m.GetSiteRestoreArtifacts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("siteRestoreArtifacts", cast) + if err != nil { + return err + } + } + return nil +} +// SetSiteRestoreArtifacts sets the siteRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore SharePoint sites. +func (m *SharePointRestoreSession) SetSiteRestoreArtifacts(value []SiteRestoreArtifactable)() { + err := m.GetBackingStore().Set("siteRestoreArtifacts", value) + if err != nil { + panic(err) + } +} +type SharePointRestoreSessionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreSessionBaseable + GetSiteRestoreArtifacts()([]SiteRestoreArtifactable) + SetSiteRestoreArtifacts(value []SiteRestoreArtifactable)() +} diff --git a/models/share_point_restore_session_collection_response.go b/models/share_point_restore_session_collection_response.go new file mode 100644 index 00000000000..65174210c38 --- /dev/null +++ b/models/share_point_restore_session_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointRestoreSessionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointRestoreSessionCollectionResponse instantiates a new SharePointRestoreSessionCollectionResponse and sets the default values. +func NewSharePointRestoreSessionCollectionResponse()(*SharePointRestoreSessionCollectionResponse) { + m := &SharePointRestoreSessionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointRestoreSessionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointRestoreSessionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointRestoreSessionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointRestoreSessionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointRestoreSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointRestoreSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointRestoreSessionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointRestoreSessionable when successful +func (m *SharePointRestoreSessionCollectionResponse) GetValue()([]SharePointRestoreSessionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointRestoreSessionable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointRestoreSessionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointRestoreSessionCollectionResponse) SetValue(value []SharePointRestoreSessionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointRestoreSessionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointRestoreSessionable) + SetValue(value []SharePointRestoreSessionable)() +} diff --git a/models/site_protection_rule.go b/models/site_protection_rule.go new file mode 100644 index 00000000000..724d49053ad --- /dev/null +++ b/models/site_protection_rule.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteProtectionRule struct { + ProtectionRuleBase +} +// NewSiteProtectionRule instantiates a new SiteProtectionRule and sets the default values. +func NewSiteProtectionRule()(*SiteProtectionRule) { + m := &SiteProtectionRule{ + ProtectionRuleBase: *NewProtectionRuleBase(), + } + odataTypeValue := "#microsoft.graph.siteProtectionRule" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSiteProtectionRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteProtectionRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteProtectionRule(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteProtectionRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionRuleBase.GetFieldDeserializers() + res["siteExpression"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSiteExpression(val) + } + return nil + } + return res +} +// GetSiteExpression gets the siteExpression property value. Contains a site expression. For examples, see siteExpression example. +// returns a *string when successful +func (m *SiteProtectionRule) GetSiteExpression()(*string) { + val, err := m.GetBackingStore().Get("siteExpression") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteProtectionRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionRuleBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("siteExpression", m.GetSiteExpression()) + if err != nil { + return err + } + } + return nil +} +// SetSiteExpression sets the siteExpression property value. Contains a site expression. For examples, see siteExpression example. +func (m *SiteProtectionRule) SetSiteExpression(value *string)() { + err := m.GetBackingStore().Set("siteExpression", value) + if err != nil { + panic(err) + } +} +type SiteProtectionRuleable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionRuleBaseable + GetSiteExpression()(*string) + SetSiteExpression(value *string)() +} diff --git a/models/site_protection_rule_collection_response.go b/models/site_protection_rule_collection_response.go new file mode 100644 index 00000000000..b3186e849f7 --- /dev/null +++ b/models/site_protection_rule_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteProtectionRuleCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSiteProtectionRuleCollectionResponse instantiates a new SiteProtectionRuleCollectionResponse and sets the default values. +func NewSiteProtectionRuleCollectionResponse()(*SiteProtectionRuleCollectionResponse) { + m := &SiteProtectionRuleCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSiteProtectionRuleCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteProtectionRuleCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteProtectionRuleCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteProtectionRuleCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionRuleable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SiteProtectionRuleable when successful +func (m *SiteProtectionRuleCollectionResponse) GetValue()([]SiteProtectionRuleable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionRuleable) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteProtectionRuleCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SiteProtectionRuleCollectionResponse) SetValue(value []SiteProtectionRuleable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SiteProtectionRuleCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SiteProtectionRuleable) + SetValue(value []SiteProtectionRuleable)() +} diff --git a/models/site_protection_unit.go b/models/site_protection_unit.go new file mode 100644 index 00000000000..8822305ff60 --- /dev/null +++ b/models/site_protection_unit.go @@ -0,0 +1,140 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteProtectionUnit struct { + ProtectionUnitBase +} +// NewSiteProtectionUnit instantiates a new SiteProtectionUnit and sets the default values. +func NewSiteProtectionUnit()(*SiteProtectionUnit) { + m := &SiteProtectionUnit{ + ProtectionUnitBase: *NewProtectionUnitBase(), + } + odataTypeValue := "#microsoft.graph.siteProtectionUnit" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSiteProtectionUnitFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteProtectionUnitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteProtectionUnit(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteProtectionUnit) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProtectionUnitBase.GetFieldDeserializers() + res["siteId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSiteId(val) + } + return nil + } + res["siteName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSiteName(val) + } + return nil + } + res["siteWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSiteWebUrl(val) + } + return nil + } + return res +} +// GetSiteId gets the siteId property value. Unique identifier of the SharePoint site. +// returns a *string when successful +func (m *SiteProtectionUnit) GetSiteId()(*string) { + val, err := m.GetBackingStore().Get("siteId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSiteName gets the siteName property value. Name of the SharePoint site. +// returns a *string when successful +func (m *SiteProtectionUnit) GetSiteName()(*string) { + val, err := m.GetBackingStore().Get("siteName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSiteWebUrl gets the siteWebUrl property value. The web URL of the SharePoint site. +// returns a *string when successful +func (m *SiteProtectionUnit) GetSiteWebUrl()(*string) { + val, err := m.GetBackingStore().Get("siteWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteProtectionUnit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProtectionUnitBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("siteId", m.GetSiteId()) + if err != nil { + return err + } + } + return nil +} +// SetSiteId sets the siteId property value. Unique identifier of the SharePoint site. +func (m *SiteProtectionUnit) SetSiteId(value *string)() { + err := m.GetBackingStore().Set("siteId", value) + if err != nil { + panic(err) + } +} +// SetSiteName sets the siteName property value. Name of the SharePoint site. +func (m *SiteProtectionUnit) SetSiteName(value *string)() { + err := m.GetBackingStore().Set("siteName", value) + if err != nil { + panic(err) + } +} +// SetSiteWebUrl sets the siteWebUrl property value. The web URL of the SharePoint site. +func (m *SiteProtectionUnit) SetSiteWebUrl(value *string)() { + err := m.GetBackingStore().Set("siteWebUrl", value) + if err != nil { + panic(err) + } +} +type SiteProtectionUnitable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProtectionUnitBaseable + GetSiteId()(*string) + GetSiteName()(*string) + GetSiteWebUrl()(*string) + SetSiteId(value *string)() + SetSiteName(value *string)() + SetSiteWebUrl(value *string)() +} diff --git a/models/site_protection_unit_collection_response.go b/models/site_protection_unit_collection_response.go new file mode 100644 index 00000000000..a2f778f6425 --- /dev/null +++ b/models/site_protection_unit_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteProtectionUnitCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSiteProtectionUnitCollectionResponse instantiates a new SiteProtectionUnitCollectionResponse and sets the default values. +func NewSiteProtectionUnitCollectionResponse()(*SiteProtectionUnitCollectionResponse) { + m := &SiteProtectionUnitCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSiteProtectionUnitCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteProtectionUnitCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteProtectionUnitCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteProtectionUnitCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteProtectionUnitFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteProtectionUnitable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteProtectionUnitable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SiteProtectionUnitable when successful +func (m *SiteProtectionUnitCollectionResponse) GetValue()([]SiteProtectionUnitable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteProtectionUnitable) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteProtectionUnitCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SiteProtectionUnitCollectionResponse) SetValue(value []SiteProtectionUnitable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SiteProtectionUnitCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SiteProtectionUnitable) + SetValue(value []SiteProtectionUnitable)() +} diff --git a/models/site_restore_artifact.go b/models/site_restore_artifact.go new file mode 100644 index 00000000000..a6999b94177 --- /dev/null +++ b/models/site_restore_artifact.go @@ -0,0 +1,138 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteRestoreArtifact struct { + RestoreArtifactBase +} +// NewSiteRestoreArtifact instantiates a new SiteRestoreArtifact and sets the default values. +func NewSiteRestoreArtifact()(*SiteRestoreArtifact) { + m := &SiteRestoreArtifact{ + RestoreArtifactBase: *NewRestoreArtifactBase(), + } + return m +} +// CreateSiteRestoreArtifactFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteRestoreArtifactFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteRestoreArtifact(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteRestoreArtifact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestoreArtifactBase.GetFieldDeserializers() + res["restoredSiteId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteId(val) + } + return nil + } + res["restoredSiteName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteName(val) + } + return nil + } + res["restoredSiteWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRestoredSiteWebUrl(val) + } + return nil + } + return res +} +// GetRestoredSiteId gets the restoredSiteId property value. The new site identifier if the value of the destinationType property is new, and the existing site ID if the value is inPlace. +// returns a *string when successful +func (m *SiteRestoreArtifact) GetRestoredSiteId()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoredSiteName gets the restoredSiteName property value. The name of the restored site. +// returns a *string when successful +func (m *SiteRestoreArtifact) GetRestoredSiteName()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestoredSiteWebUrl gets the restoredSiteWebUrl property value. The web URL of the restored site. +// returns a *string when successful +func (m *SiteRestoreArtifact) GetRestoredSiteWebUrl()(*string) { + val, err := m.GetBackingStore().Get("restoredSiteWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteRestoreArtifact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestoreArtifactBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("restoredSiteId", m.GetRestoredSiteId()) + if err != nil { + return err + } + } + return nil +} +// SetRestoredSiteId sets the restoredSiteId property value. The new site identifier if the value of the destinationType property is new, and the existing site ID if the value is inPlace. +func (m *SiteRestoreArtifact) SetRestoredSiteId(value *string)() { + err := m.GetBackingStore().Set("restoredSiteId", value) + if err != nil { + panic(err) + } +} +// SetRestoredSiteName sets the restoredSiteName property value. The name of the restored site. +func (m *SiteRestoreArtifact) SetRestoredSiteName(value *string)() { + err := m.GetBackingStore().Set("restoredSiteName", value) + if err != nil { + panic(err) + } +} +// SetRestoredSiteWebUrl sets the restoredSiteWebUrl property value. The web URL of the restored site. +func (m *SiteRestoreArtifact) SetRestoredSiteWebUrl(value *string)() { + err := m.GetBackingStore().Set("restoredSiteWebUrl", value) + if err != nil { + panic(err) + } +} +type SiteRestoreArtifactable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestoreArtifactBaseable + GetRestoredSiteId()(*string) + GetRestoredSiteName()(*string) + GetRestoredSiteWebUrl()(*string) + SetRestoredSiteId(value *string)() + SetRestoredSiteName(value *string)() + SetRestoredSiteWebUrl(value *string)() +} diff --git a/models/site_restore_artifact_collection_response.go b/models/site_restore_artifact_collection_response.go new file mode 100644 index 00000000000..8cb3bd8b660 --- /dev/null +++ b/models/site_restore_artifact_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SiteRestoreArtifactCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSiteRestoreArtifactCollectionResponse instantiates a new SiteRestoreArtifactCollectionResponse and sets the default values. +func NewSiteRestoreArtifactCollectionResponse()(*SiteRestoreArtifactCollectionResponse) { + m := &SiteRestoreArtifactCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSiteRestoreArtifactCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSiteRestoreArtifactCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSiteRestoreArtifactCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SiteRestoreArtifactCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSiteRestoreArtifactFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SiteRestoreArtifactable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SiteRestoreArtifactable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SiteRestoreArtifactable when successful +func (m *SiteRestoreArtifactCollectionResponse) GetValue()([]SiteRestoreArtifactable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SiteRestoreArtifactable) + } + return nil +} +// Serialize serializes information the current object +func (m *SiteRestoreArtifactCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SiteRestoreArtifactCollectionResponse) SetValue(value []SiteRestoreArtifactable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SiteRestoreArtifactCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SiteRestoreArtifactable) + SetValue(value []SiteRestoreArtifactable)() +} diff --git a/models/solutions_root.go b/models/solutions_root.go index 39231e75014..902affe98f3 100644 --- a/models/solutions_root.go +++ b/models/solutions_root.go @@ -40,6 +40,18 @@ func (m *SolutionsRoot) GetAdditionalData()(map[string]any) { func (m *SolutionsRoot) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetBackupRestore gets the backupRestore property value. The backupRestore property +// returns a BackupRestoreRootable when successful +func (m *SolutionsRoot) GetBackupRestore()(BackupRestoreRootable) { + val, err := m.GetBackingStore().Get("backupRestore") + if err != nil { + panic(err) + } + if val != nil { + return val.(BackupRestoreRootable) + } + return nil +} // GetBookingBusinesses gets the bookingBusinesses property value. The bookingBusinesses property // returns a []BookingBusinessable when successful func (m *SolutionsRoot) GetBookingBusinesses()([]BookingBusinessable) { @@ -80,6 +92,16 @@ func (m *SolutionsRoot) GetBusinessScenarios()([]BusinessScenarioable) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *SolutionsRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["backupRestore"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateBackupRestoreRootFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetBackupRestore(val.(BackupRestoreRootable)) + } + return nil + } res["bookingBusinesses"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateBookingBusinessFromDiscriminatorValue) if err != nil { @@ -176,6 +198,12 @@ func (m *SolutionsRoot) GetVirtualEvents()(VirtualEventsRootable) { } // Serialize serializes information the current object func (m *SolutionsRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("backupRestore", m.GetBackupRestore()) + if err != nil { + return err + } + } if m.GetBookingBusinesses() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetBookingBusinesses())) for i, v := range m.GetBookingBusinesses() { @@ -243,6 +271,13 @@ func (m *SolutionsRoot) SetAdditionalData(value map[string]any)() { func (m *SolutionsRoot) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetBackupRestore sets the backupRestore property value. The backupRestore property +func (m *SolutionsRoot) SetBackupRestore(value BackupRestoreRootable)() { + err := m.GetBackingStore().Set("backupRestore", value) + if err != nil { + panic(err) + } +} // SetBookingBusinesses sets the bookingBusinesses property value. The bookingBusinesses property func (m *SolutionsRoot) SetBookingBusinesses(value []BookingBusinessable)() { err := m.GetBackingStore().Set("bookingBusinesses", value) @@ -283,12 +318,14 @@ type SolutionsRootable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBackupRestore()(BackupRestoreRootable) GetBookingBusinesses()([]BookingBusinessable) GetBookingCurrencies()([]BookingCurrencyable) GetBusinessScenarios()([]BusinessScenarioable) GetOdataType()(*string) GetVirtualEvents()(VirtualEventsRootable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBackupRestore(value BackupRestoreRootable)() SetBookingBusinesses(value []BookingBusinessable)() SetBookingCurrencies(value []BookingCurrencyable)() SetBusinessScenarios(value []BusinessScenarioable)() diff --git a/models/time_period.go b/models/time_period.go new file mode 100644 index 00000000000..7ce563d8512 --- /dev/null +++ b/models/time_period.go @@ -0,0 +1,188 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TimePeriod struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTimePeriod instantiates a new TimePeriod and sets the default values. +func NewTimePeriod()(*TimePeriod) { + m := &TimePeriod{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTimePeriodFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTimePeriodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTimePeriod(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TimePeriod) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TimePeriod) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEndDateTime gets the endDateTime property value. The date time of the end of the time period. +// returns a *Time when successful +func (m *TimePeriod) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("endDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TimePeriod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["endDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEndDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetStartDateTime(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TimePeriod) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStartDateTime gets the startDateTime property value. The date time of the start of the time period. +// returns a *Time when successful +func (m *TimePeriod) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("startDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *TimePeriod) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("endDateTime", m.GetEndDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("startDateTime", m.GetStartDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TimePeriod) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TimePeriod) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEndDateTime sets the endDateTime property value. The date time of the end of the time period. +func (m *TimePeriod) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("endDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TimePeriod) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStartDateTime sets the startDateTime property value. The date time of the start of the time period. +func (m *TimePeriod) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("startDateTime", value) + if err != nil { + panic(err) + } +} +type TimePeriodable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/user_activity.go b/models/user_activity.go index 316de1b3b68..b33842ace06 100644 --- a/models/user_activity.go +++ b/models/user_activity.go @@ -69,14 +69,14 @@ func (m *UserActivity) GetAppDisplayName()(*string) { return nil } // GetContentInfo gets the contentInfo property value. Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. -// returns a Jsonable when successful -func (m *UserActivity) GetContentInfo()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *UserActivity) GetContentInfo()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("contentInfo") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -173,12 +173,12 @@ func (m *UserActivity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 return nil } res["contentInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetContentInfo(val.(Jsonable)) + m.SetContentInfo(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -468,7 +468,7 @@ func (m *UserActivity) SetAppDisplayName(value *string)() { } } // SetContentInfo sets the contentInfo property value. Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. -func (m *UserActivity) SetContentInfo(value Jsonable)() { +func (m *UserActivity) SetContentInfo(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("contentInfo", value) if err != nil { panic(err) @@ -544,7 +544,7 @@ type UserActivityable interface { GetActivitySourceHost()(*string) GetAppActivityId()(*string) GetAppDisplayName()(*string) - GetContentInfo()(Jsonable) + GetContentInfo()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetContentUrl()(*string) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) @@ -558,7 +558,7 @@ type UserActivityable interface { SetActivitySourceHost(value *string)() SetAppActivityId(value *string)() SetAppDisplayName(value *string)() - SetContentInfo(value Jsonable)() + SetContentInfo(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetContentUrl(value *string)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() diff --git a/models/user_identity.go b/models/user_identity.go index 48bfe511a89..842969d8ce1 100644 --- a/models/user_identity.go +++ b/models/user_identity.go @@ -65,7 +65,7 @@ func (m *UserIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetIpAddress gets the ipAddress property value. Indicates the client IP address used by user performing the activity (audit log only). +// GetIpAddress gets the ipAddress property value. Indicates the client IP address associated with the user performing the activity (audit log only). // returns a *string when successful func (m *UserIdentity) GetIpAddress()(*string) { val, err := m.GetBackingStore().Get("ipAddress") @@ -109,7 +109,7 @@ func (m *UserIdentity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetIpAddress sets the ipAddress property value. Indicates the client IP address used by user performing the activity (audit log only). +// SetIpAddress sets the ipAddress property value. Indicates the client IP address associated with the user performing the activity (audit log only). func (m *UserIdentity) SetIpAddress(value *string)() { err := m.GetBackingStore().Set("ipAddress", value) if err != nil { diff --git a/models/visual_info.go b/models/visual_info.go index b7ff80af595..c67fe710345 100644 --- a/models/visual_info.go +++ b/models/visual_info.go @@ -65,14 +65,14 @@ func (m *VisualInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424d return m.backingStore } // GetContent 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 -// returns a Jsonable when successful -func (m *VisualInfo) GetContent()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *VisualInfo) GetContent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("content") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,12 +125,12 @@ func (m *VisualInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 return nil } res["content"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetContent(val.(Jsonable)) + m.SetContent(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -250,7 +250,7 @@ func (m *VisualInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185 m.backingStore = value } // SetContent 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 -func (m *VisualInfo) SetContent(value Jsonable)() { +func (m *VisualInfo) SetContent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("content", value) if err != nil { panic(err) @@ -284,14 +284,14 @@ type VisualInfoable interface { GetAttribution()(ImageInfoable) GetBackgroundColor()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetContent()(Jsonable) + GetContent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetDescription()(*string) GetDisplayText()(*string) GetOdataType()(*string) SetAttribution(value ImageInfoable)() SetBackgroundColor(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetContent(value Jsonable)() + SetContent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetDescription(value *string)() SetDisplayText(value *string)() SetOdataType(value *string)() diff --git a/models/web_part_data.go b/models/web_part_data.go index 5a0ad311b2c..7e906a66e01 100644 --- a/models/web_part_data.go +++ b/models/web_part_data.go @@ -127,12 +127,12 @@ func (m *WebPartData) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 return nil } res["properties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProperties(val.(Jsonable)) + m.SetProperties(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -171,14 +171,14 @@ func (m *WebPartData) GetOdataType()(*string) { return nil } // GetProperties gets the properties property value. Properties bag of the web part. -// returns a Jsonable when successful -func (m *WebPartData) GetProperties()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WebPartData) GetProperties()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("properties") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -298,7 +298,7 @@ func (m *WebPartData) SetOdataType(value *string)() { } } // SetProperties sets the properties property value. Properties bag of the web part. -func (m *WebPartData) SetProperties(value Jsonable)() { +func (m *WebPartData) SetProperties(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("properties", value) if err != nil { panic(err) @@ -327,7 +327,7 @@ type WebPartDataable interface { GetDataVersion()(*string) GetDescription()(*string) GetOdataType()(*string) - GetProperties()(Jsonable) + GetProperties()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetServerProcessedContent()(ServerProcessedContentable) GetTitle()(*string) SetAudiences(value []string)() @@ -335,7 +335,7 @@ type WebPartDataable interface { SetDataVersion(value *string)() SetDescription(value *string)() SetOdataType(value *string)() - SetProperties(value Jsonable)() + SetProperties(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetServerProcessedContent(value ServerProcessedContentable)() SetTitle(value *string)() } diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index 1d7b26dfe27..9f8c4a96285 100644 --- a/models/windows_app_x_app_assignment_settings.go +++ b/models/windows_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsAppXAppAssignmentSettings) GetFieldDeserializers()(map[string]fu } return res } -// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. +// GetUseDeviceContext gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. // returns a *bool when successful func (m *WindowsAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsAppXAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. +// SetUseDeviceContext sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_autopilot_device_type.go b/models/windows_autopilot_device_type.go index a5994d7b639..17d38a39d8f 100644 --- a/models/windows_autopilot_device_type.go +++ b/models/windows_autopilot_device_type.go @@ -2,32 +2,32 @@ package models type WindowsAutopilotDeviceType int const ( - // Windows PC + // Default. Indicates that the device type is a Windows PC. WINDOWSPC_WINDOWSAUTOPILOTDEVICETYPE WindowsAutopilotDeviceType = iota + // Indicates that the device type is a HoloLens. + HOLOLENS_WINDOWSAUTOPILOTDEVICETYPE // Surface Hub 2 SURFACEHUB2_WINDOWSAUTOPILOTDEVICETYPE - // HoloLens - HOLOLENS_WINDOWSAUTOPILOTDEVICETYPE // SurfaceHub2S SURFACEHUB2S_WINDOWSAUTOPILOTDEVICETYPE // VirtualMachine VIRTUALMACHINE_WINDOWSAUTOPILOTDEVICETYPE - // Placeholder for evolvable enum, but this enum is never returned to the caller, so it shouldn't be necessary. + // Evolvable enumeration sentinel value. Do not use. UNKNOWNFUTUREVALUE_WINDOWSAUTOPILOTDEVICETYPE ) func (i WindowsAutopilotDeviceType) String() string { - return []string{"windowsPc", "surfaceHub2", "holoLens", "surfaceHub2S", "virtualMachine", "unknownFutureValue"}[i] + return []string{"windowsPc", "holoLens", "surfaceHub2", "surfaceHub2S", "virtualMachine", "unknownFutureValue"}[i] } func ParseWindowsAutopilotDeviceType(v string) (any, error) { result := WINDOWSPC_WINDOWSAUTOPILOTDEVICETYPE switch v { case "windowsPc": result = WINDOWSPC_WINDOWSAUTOPILOTDEVICETYPE - case "surfaceHub2": - result = SURFACEHUB2_WINDOWSAUTOPILOTDEVICETYPE case "holoLens": result = HOLOLENS_WINDOWSAUTOPILOTDEVICETYPE + case "surfaceHub2": + result = SURFACEHUB2_WINDOWSAUTOPILOTDEVICETYPE case "surfaceHub2S": result = SURFACEHUB2S_WINDOWSAUTOPILOTDEVICETYPE case "virtualMachine": diff --git a/models/windows_device_usage_type.go b/models/windows_device_usage_type.go index af5a9b09c5b..586feb6b0f7 100644 --- a/models/windows_device_usage_type.go +++ b/models/windows_device_usage_type.go @@ -2,14 +2,16 @@ package models type WindowsDeviceUsageType int const ( - // Single User Device Type + // Default. Indicates that a device is a single-user device. SINGLEUSER_WINDOWSDEVICEUSAGETYPE WindowsDeviceUsageType = iota - // Shared Device Type + // Indicates that a device is a multi-user device. SHARED_WINDOWSDEVICEUSAGETYPE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_WINDOWSDEVICEUSAGETYPE ) func (i WindowsDeviceUsageType) String() string { - return []string{"singleUser", "shared"}[i] + return []string{"singleUser", "shared", "unknownFutureValue"}[i] } func ParseWindowsDeviceUsageType(v string) (any, error) { result := SINGLEUSER_WINDOWSDEVICEUSAGETYPE @@ -18,6 +20,8 @@ func ParseWindowsDeviceUsageType(v string) (any, error) { result = SINGLEUSER_WINDOWSDEVICEUSAGETYPE case "shared": result = SHARED_WINDOWSDEVICEUSAGETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WINDOWSDEVICEUSAGETYPE default: return nil, nil } diff --git a/models/windows_domain_join_configuration.go b/models/windows_domain_join_configuration.go index e490c9ef3e1..988d96356d8 100644 --- a/models/windows_domain_join_configuration.go +++ b/models/windows_domain_join_configuration.go @@ -120,7 +120,7 @@ func (m *WindowsDomainJoinConfiguration) GetFieldDeserializers()(map[string]func } return res } -// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity +// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. // returns a []DeviceConfigurationable when successful func (m *WindowsDomainJoinConfiguration) GetNetworkAccessConfigurations()([]DeviceConfigurationable) { val, err := m.GetBackingStore().Get("networkAccessConfigurations") @@ -209,7 +209,7 @@ func (m *WindowsDomainJoinConfiguration) SetComputerNameSuffixRandomCharCount(va panic(err) } } -// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity +// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. func (m *WindowsDomainJoinConfiguration) SetNetworkAccessConfigurations(value []DeviceConfigurationable)() { err := m.GetBackingStore().Set("networkAccessConfigurations", value) if err != nil { diff --git a/models/windows_quality_update_policy.go b/models/windows_quality_update_policy.go new file mode 100644 index 00000000000..a2eb3565784 --- /dev/null +++ b/models/windows_quality_update_policy.go @@ -0,0 +1,318 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsQualityUpdatePolicy windows Quality Update Policy +type WindowsQualityUpdatePolicy struct { + Entity +} +// NewWindowsQualityUpdatePolicy instantiates a new WindowsQualityUpdatePolicy and sets the default values. +func NewWindowsQualityUpdatePolicy()(*WindowsQualityUpdatePolicy) { + m := &WindowsQualityUpdatePolicy{ + Entity: *NewEntity(), + } + return m +} +// CreateWindowsQualityUpdatePolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWindowsQualityUpdatePolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsQualityUpdatePolicy(), nil +} +// GetAssignments gets the assignments property value. List of the groups this profile is assgined to. +// returns a []WindowsQualityUpdatePolicyAssignmentable when successful +func (m *WindowsQualityUpdatePolicy) GetAssignments()([]WindowsQualityUpdatePolicyAssignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsQualityUpdatePolicyAssignmentable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. Timestamp of when the profile was created. The value cannot be modified and is automatically populated when the profile is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Read-only +// returns a *Time when successful +func (m *WindowsQualityUpdatePolicy) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDescription gets the description property value. The description of the policy which is specified by the user. Max allowed length is 1500 chars. +// returns a *string when successful +func (m *WindowsQualityUpdatePolicy) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The display name for the policy. Max allowed length is 200 chars. +// returns a *string when successful +func (m *WindowsQualityUpdatePolicy) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WindowsQualityUpdatePolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsQualityUpdatePolicyAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsQualityUpdatePolicyAssignmentable) + } + } + m.SetAssignments(res) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["hotpatchEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHotpatchEnabled(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["roleScopeTagIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoleScopeTagIds(res) + } + return nil + } + return res +} +// GetHotpatchEnabled gets the hotpatchEnabled property value. Indicates if hotpatch is enabled for the tenants. When 'true', tenant can apply quality updates without rebooting their devices. When 'false', tenant devices will receive cold patch associated with Windows quality updates. +// returns a *bool when successful +func (m *WindowsQualityUpdatePolicy) GetHotpatchEnabled()(*bool) { + val, err := m.GetBackingStore().Get("hotpatchEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of when the profile was modified. The value cannot be modified and is automatically populated when the profile is modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Read-only +// returns a *Time when successful +func (m *WindowsQualityUpdatePolicy) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRoleScopeTagIds gets the roleScopeTagIds property value. List of the scope tag ids for this profile. +// returns a []string when successful +func (m *WindowsQualityUpdatePolicy) GetRoleScopeTagIds()([]string) { + val, err := m.GetBackingStore().Get("roleScopeTagIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsQualityUpdatePolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("hotpatchEnabled", m.GetHotpatchEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetRoleScopeTagIds() != nil { + err = writer.WriteCollectionOfStringValues("roleScopeTagIds", m.GetRoleScopeTagIds()) + if err != nil { + return err + } + } + return nil +} +// SetAssignments sets the assignments property value. List of the groups this profile is assgined to. +func (m *WindowsQualityUpdatePolicy) SetAssignments(value []WindowsQualityUpdatePolicyAssignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. Timestamp of when the profile was created. The value cannot be modified and is automatically populated when the profile is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Read-only +func (m *WindowsQualityUpdatePolicy) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The description of the policy which is specified by the user. Max allowed length is 1500 chars. +func (m *WindowsQualityUpdatePolicy) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The display name for the policy. Max allowed length is 200 chars. +func (m *WindowsQualityUpdatePolicy) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetHotpatchEnabled sets the hotpatchEnabled property value. Indicates if hotpatch is enabled for the tenants. When 'true', tenant can apply quality updates without rebooting their devices. When 'false', tenant devices will receive cold patch associated with Windows quality updates. +func (m *WindowsQualityUpdatePolicy) SetHotpatchEnabled(value *bool)() { + err := m.GetBackingStore().Set("hotpatchEnabled", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of when the profile was modified. The value cannot be modified and is automatically populated when the profile is modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Read-only +func (m *WindowsQualityUpdatePolicy) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetRoleScopeTagIds sets the roleScopeTagIds property value. List of the scope tag ids for this profile. +func (m *WindowsQualityUpdatePolicy) SetRoleScopeTagIds(value []string)() { + err := m.GetBackingStore().Set("roleScopeTagIds", value) + if err != nil { + panic(err) + } +} +type WindowsQualityUpdatePolicyable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignments()([]WindowsQualityUpdatePolicyAssignmentable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDescription()(*string) + GetDisplayName()(*string) + GetHotpatchEnabled()(*bool) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRoleScopeTagIds()([]string) + SetAssignments(value []WindowsQualityUpdatePolicyAssignmentable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetHotpatchEnabled(value *bool)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRoleScopeTagIds(value []string)() +} diff --git a/models/windows_quality_update_policy_assignment.go b/models/windows_quality_update_policy_assignment.go new file mode 100644 index 00000000000..c8fd8473af9 --- /dev/null +++ b/models/windows_quality_update_policy_assignment.go @@ -0,0 +1,77 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsQualityUpdatePolicyAssignment this entity contains the properties used to assign a Windows quality update policy to a group. +type WindowsQualityUpdatePolicyAssignment struct { + Entity +} +// NewWindowsQualityUpdatePolicyAssignment instantiates a new WindowsQualityUpdatePolicyAssignment and sets the default values. +func NewWindowsQualityUpdatePolicyAssignment()(*WindowsQualityUpdatePolicyAssignment) { + m := &WindowsQualityUpdatePolicyAssignment{ + Entity: *NewEntity(), + } + return m +} +// CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsQualityUpdatePolicyAssignment(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WindowsQualityUpdatePolicyAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["target"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDeviceAndAppManagementAssignmentTargetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTarget(val.(DeviceAndAppManagementAssignmentTargetable)) + } + return nil + } + return res +} +// GetTarget gets the target property value. Base type for assignment targets. +// returns a DeviceAndAppManagementAssignmentTargetable when successful +func (m *WindowsQualityUpdatePolicyAssignment) GetTarget()(DeviceAndAppManagementAssignmentTargetable) { + val, err := m.GetBackingStore().Get("target") + if err != nil { + panic(err) + } + if val != nil { + return val.(DeviceAndAppManagementAssignmentTargetable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsQualityUpdatePolicyAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("target", m.GetTarget()) + if err != nil { + return err + } + } + return nil +} +// SetTarget sets the target property value. Base type for assignment targets. +func (m *WindowsQualityUpdatePolicyAssignment) SetTarget(value DeviceAndAppManagementAssignmentTargetable)() { + err := m.GetBackingStore().Set("target", value) + if err != nil { + panic(err) + } +} +type WindowsQualityUpdatePolicyAssignmentable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetTarget()(DeviceAndAppManagementAssignmentTargetable) + SetTarget(value DeviceAndAppManagementAssignmentTargetable)() +} diff --git a/models/windows_quality_update_policy_assignment_collection_response.go b/models/windows_quality_update_policy_assignment_collection_response.go new file mode 100644 index 00000000000..c6bae34e8b6 --- /dev/null +++ b/models/windows_quality_update_policy_assignment_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WindowsQualityUpdatePolicyAssignmentCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsQualityUpdatePolicyAssignmentCollectionResponse instantiates a new WindowsQualityUpdatePolicyAssignmentCollectionResponse and sets the default values. +func NewWindowsQualityUpdatePolicyAssignmentCollectionResponse()(*WindowsQualityUpdatePolicyAssignmentCollectionResponse) { + m := &WindowsQualityUpdatePolicyAssignmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsQualityUpdatePolicyAssignmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWindowsQualityUpdatePolicyAssignmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsQualityUpdatePolicyAssignmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WindowsQualityUpdatePolicyAssignmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsQualityUpdatePolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsQualityUpdatePolicyAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsQualityUpdatePolicyAssignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WindowsQualityUpdatePolicyAssignmentable when successful +func (m *WindowsQualityUpdatePolicyAssignmentCollectionResponse) GetValue()([]WindowsQualityUpdatePolicyAssignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsQualityUpdatePolicyAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsQualityUpdatePolicyAssignmentCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsQualityUpdatePolicyAssignmentCollectionResponse) SetValue(value []WindowsQualityUpdatePolicyAssignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WindowsQualityUpdatePolicyAssignmentCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsQualityUpdatePolicyAssignmentable) + SetValue(value []WindowsQualityUpdatePolicyAssignmentable)() +} diff --git a/models/windows_quality_update_policy_collection_response.go b/models/windows_quality_update_policy_collection_response.go new file mode 100644 index 00000000000..c3ba9734f79 --- /dev/null +++ b/models/windows_quality_update_policy_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WindowsQualityUpdatePolicyCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsQualityUpdatePolicyCollectionResponse instantiates a new WindowsQualityUpdatePolicyCollectionResponse and sets the default values. +func NewWindowsQualityUpdatePolicyCollectionResponse()(*WindowsQualityUpdatePolicyCollectionResponse) { + m := &WindowsQualityUpdatePolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsQualityUpdatePolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWindowsQualityUpdatePolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsQualityUpdatePolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WindowsQualityUpdatePolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsQualityUpdatePolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsQualityUpdatePolicyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsQualityUpdatePolicyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WindowsQualityUpdatePolicyable when successful +func (m *WindowsQualityUpdatePolicyCollectionResponse) GetValue()([]WindowsQualityUpdatePolicyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsQualityUpdatePolicyable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsQualityUpdatePolicyCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsQualityUpdatePolicyCollectionResponse) SetValue(value []WindowsQualityUpdatePolicyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WindowsQualityUpdatePolicyCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsQualityUpdatePolicyable) + SetValue(value []WindowsQualityUpdatePolicyable)() +} diff --git a/models/windows_universal_app_x_app_assignment_settings.go b/models/windows_universal_app_x_app_assignment_settings.go index fc347495bb4..98044527a48 100644 --- a/models/windows_universal_app_x_app_assignment_settings.go +++ b/models/windows_universal_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) GetFieldDeserializers()(map[ } return res } -// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. +// GetUseDeviceContext gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. // returns a *bool when successful func (m *WindowsUniversalAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) Serialize(writer i878a80d233 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. +// SetUseDeviceContext sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. func (m *WindowsUniversalAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_user_type.go b/models/windows_user_type.go index d1946ebb416..315d87877be 100644 --- a/models/windows_user_type.go +++ b/models/windows_user_type.go @@ -2,12 +2,16 @@ package models type WindowsUserType int const ( + // Indicates that the user has administrator privileges. ADMINISTRATOR_WINDOWSUSERTYPE WindowsUserType = iota + // Indicates that the user is a low-rights user without administrator privileges. STANDARD_WINDOWSUSERTYPE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_WINDOWSUSERTYPE ) func (i WindowsUserType) String() string { - return []string{"administrator", "standard"}[i] + return []string{"administrator", "standard", "unknownFutureValue"}[i] } func ParseWindowsUserType(v string) (any, error) { result := ADMINISTRATOR_WINDOWSUSERTYPE @@ -16,6 +20,8 @@ func ParseWindowsUserType(v string) (any, error) { result = ADMINISTRATOR_WINDOWSUSERTYPE case "standard": result = STANDARD_WINDOWSUSERTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WINDOWSUSERTYPE default: return nil, nil } diff --git a/models/workbook_chart_axis.go b/models/workbook_chart_axis.go index 4724c8273ca..61221ff2369 100644 --- a/models/workbook_chart_axis.go +++ b/models/workbook_chart_axis.go @@ -44,32 +44,32 @@ func (m *WorkbookChartAxis) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["majorUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMajorUnit(val.(Jsonable)) + m.SetMajorUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maximum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaximum(val.(Jsonable)) + m.SetMaximum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["minimum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinimum(val.(Jsonable)) + m.SetMinimum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -84,12 +84,12 @@ func (m *WorkbookChartAxis) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["minorUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinorUnit(val.(Jsonable)) + m.SetMinorUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -130,38 +130,38 @@ func (m *WorkbookChartAxis) GetMajorGridlines()(WorkbookChartGridlinesable) { return nil } // GetMajorUnit 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. -// returns a Jsonable when successful -func (m *WorkbookChartAxis) GetMajorUnit()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookChartAxis) GetMajorUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("majorUnit") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaximum 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. -// returns a Jsonable when successful -func (m *WorkbookChartAxis) GetMaximum()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookChartAxis) GetMaximum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maximum") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMinimum 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. -// returns a Jsonable when successful -func (m *WorkbookChartAxis) GetMinimum()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookChartAxis) GetMinimum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minimum") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -178,14 +178,14 @@ func (m *WorkbookChartAxis) GetMinorGridlines()(WorkbookChartGridlinesable) { return nil } // GetMinorUnit 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. -// returns a Jsonable when successful -func (m *WorkbookChartAxis) GetMinorUnit()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookChartAxis) GetMinorUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minorUnit") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -272,21 +272,21 @@ func (m *WorkbookChartAxis) SetMajorGridlines(value WorkbookChartGridlinesable)( } } // SetMajorUnit 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. -func (m *WorkbookChartAxis) SetMajorUnit(value Jsonable)() { +func (m *WorkbookChartAxis) SetMajorUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("majorUnit", value) if err != nil { panic(err) } } // SetMaximum 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. -func (m *WorkbookChartAxis) SetMaximum(value Jsonable)() { +func (m *WorkbookChartAxis) SetMaximum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maximum", value) if err != nil { panic(err) } } // SetMinimum 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. -func (m *WorkbookChartAxis) SetMinimum(value Jsonable)() { +func (m *WorkbookChartAxis) SetMinimum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minimum", value) if err != nil { panic(err) @@ -300,7 +300,7 @@ func (m *WorkbookChartAxis) SetMinorGridlines(value WorkbookChartGridlinesable)( } } // SetMinorUnit 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. -func (m *WorkbookChartAxis) SetMinorUnit(value Jsonable)() { +func (m *WorkbookChartAxis) SetMinorUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minorUnit", value) if err != nil { panic(err) @@ -318,18 +318,18 @@ type WorkbookChartAxisable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetFormat()(WorkbookChartAxisFormatable) GetMajorGridlines()(WorkbookChartGridlinesable) - GetMajorUnit()(Jsonable) - GetMaximum()(Jsonable) - GetMinimum()(Jsonable) + GetMajorUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaximum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMinimum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetMinorGridlines()(WorkbookChartGridlinesable) - GetMinorUnit()(Jsonable) + GetMinorUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetTitle()(WorkbookChartAxisTitleable) SetFormat(value WorkbookChartAxisFormatable)() SetMajorGridlines(value WorkbookChartGridlinesable)() - SetMajorUnit(value Jsonable)() - SetMaximum(value Jsonable)() - SetMinimum(value Jsonable)() + SetMajorUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaximum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMinimum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetMinorGridlines(value WorkbookChartGridlinesable)() - SetMinorUnit(value Jsonable)() + SetMinorUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetTitle(value WorkbookChartAxisTitleable)() } diff --git a/models/workbook_chart_point.go b/models/workbook_chart_point.go index 1ebefb4791d..982bc34b0e6 100644 --- a/models/workbook_chart_point.go +++ b/models/workbook_chart_point.go @@ -34,12 +34,12 @@ func (m *WorkbookChartPoint) GetFieldDeserializers()(map[string]func(i878a80d233 return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -58,14 +58,14 @@ func (m *WorkbookChartPoint) GetFormat()(WorkbookChartPointFormatable) { return nil } // GetValue gets the value property value. Returns the value of a chart point. Read-only. -// returns a Jsonable when successful -func (m *WorkbookChartPoint) GetValue()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookChartPoint) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +97,7 @@ func (m *WorkbookChartPoint) SetFormat(value WorkbookChartPointFormatable)() { } } // SetValue sets the value property value. Returns the value of a chart point. Read-only. -func (m *WorkbookChartPoint) SetValue(value Jsonable)() { +func (m *WorkbookChartPoint) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -107,7 +107,7 @@ type WorkbookChartPointable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetFormat()(WorkbookChartPointFormatable) - GetValue()(Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetFormat(value WorkbookChartPointFormatable)() - SetValue(value Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/workbook_filter_criteria.go b/models/workbook_filter_criteria.go index c2e914133c1..5473d46023a 100644 --- a/models/workbook_filter_criteria.go +++ b/models/workbook_filter_criteria.go @@ -173,12 +173,12 @@ func (m *WorkbookFilterCriteria) GetFieldDeserializers()(map[string]func(i878a80 return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -233,14 +233,14 @@ func (m *WorkbookFilterCriteria) GetOperator()(*string) { return nil } // GetValues gets the values property value. The values that appear in the cell. -// returns a Jsonable when successful -func (m *WorkbookFilterCriteria) GetValues()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookFilterCriteria) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -376,7 +376,7 @@ func (m *WorkbookFilterCriteria) SetOperator(value *string)() { } } // SetValues sets the values property value. The values that appear in the cell. -func (m *WorkbookFilterCriteria) SetValues(value Jsonable)() { +func (m *WorkbookFilterCriteria) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -395,7 +395,7 @@ type WorkbookFilterCriteriaable interface { GetIcon()(WorkbookIconable) GetOdataType()(*string) GetOperator()(*string) - GetValues()(Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetColor(value *string)() SetCriterion1(value *string)() @@ -405,5 +405,5 @@ type WorkbookFilterCriteriaable interface { SetIcon(value WorkbookIconable)() SetOdataType(value *string)() SetOperator(value *string)() - SetValues(value Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/workbook_function_result.go b/models/workbook_function_result.go index 6dcd21440ca..0a56568f296 100644 --- a/models/workbook_function_result.go +++ b/models/workbook_function_result.go @@ -46,26 +46,26 @@ func (m *WorkbookFunctionResult) GetFieldDeserializers()(map[string]func(i878a80 return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *WorkbookFunctionResult) GetValue()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookFunctionResult) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +97,7 @@ func (m *WorkbookFunctionResult) SetError(value *string)() { } } // SetValue sets the value property value. The value property -func (m *WorkbookFunctionResult) SetValue(value Jsonable)() { +func (m *WorkbookFunctionResult) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -107,7 +107,7 @@ type WorkbookFunctionResultable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetError()(*string) - GetValue()(Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetError(value *string)() - SetValue(value Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/workbook_named_item.go b/models/workbook_named_item.go index 3da8998509e..672e0360e3e 100644 --- a/models/workbook_named_item.go +++ b/models/workbook_named_item.go @@ -76,12 +76,12 @@ func (m *WorkbookNamedItem) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -144,14 +144,14 @@ func (m *WorkbookNamedItem) GetTypeEscaped()(*string) { return nil } // GetValue gets the value property value. Represents the formula that the name is defined to refer to. For example, =Sheet14!$B$2:$H$12 and =4.75. Read-only. -// returns a Jsonable when successful -func (m *WorkbookNamedItem) GetValue()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookNamedItem) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -258,7 +258,7 @@ func (m *WorkbookNamedItem) SetTypeEscaped(value *string)() { } } // SetValue sets the value property value. Represents the formula that the name is defined to refer to. For example, =Sheet14!$B$2:$H$12 and =4.75. Read-only. -func (m *WorkbookNamedItem) SetValue(value Jsonable)() { +func (m *WorkbookNamedItem) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -285,14 +285,14 @@ type WorkbookNamedItemable interface { GetName()(*string) GetScope()(*string) GetTypeEscaped()(*string) - GetValue()(Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetVisible()(*bool) GetWorksheet()(WorkbookWorksheetable) SetComment(value *string)() SetName(value *string)() SetScope(value *string)() SetTypeEscaped(value *string)() - SetValue(value Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetVisible(value *bool)() SetWorksheet(value WorkbookWorksheetable)() } diff --git a/models/workbook_range.go b/models/workbook_range.go index d929c46ee8a..882946d7368 100644 --- a/models/workbook_range.go +++ b/models/workbook_range.go @@ -166,32 +166,32 @@ func (m *WorkbookRange) GetFieldDeserializers()(map[string]func(i878a80d2330e89d return nil } res["formulas"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulas(val.(Jsonable)) + m.SetFormulas(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["formulasLocal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulasLocal(val.(Jsonable)) + m.SetFormulasLocal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["formulasR1C1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulasR1C1(val.(Jsonable)) + m.SetFormulasR1C1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -206,12 +206,12 @@ func (m *WorkbookRange) GetFieldDeserializers()(map[string]func(i878a80d2330e89d return nil } res["numberFormat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberFormat(val.(Jsonable)) + m.SetNumberFormat(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -256,32 +256,32 @@ func (m *WorkbookRange) GetFieldDeserializers()(map[string]func(i878a80d2330e89d return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueTypes(val.(Jsonable)) + m.SetValueTypes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -310,38 +310,38 @@ func (m *WorkbookRange) GetFormat()(WorkbookRangeFormatable) { return nil } // GetFormulas gets the formulas property value. Represents the formula in A1-style notation. -// returns a Jsonable when successful -func (m *WorkbookRange) GetFormulas()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetFormulas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulas") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFormulasLocal 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. -// returns a Jsonable when successful -func (m *WorkbookRange) GetFormulasLocal()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetFormulasLocal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulasLocal") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFormulasR1C1 gets the formulasR1C1 property value. Represents the formula in R1C1-style notation. -// returns a Jsonable when successful -func (m *WorkbookRange) GetFormulasR1C1()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetFormulasR1C1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulasR1C1") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -358,14 +358,14 @@ func (m *WorkbookRange) GetHidden()(*bool) { return nil } // GetNumberFormat gets the numberFormat property value. Represents Excel's number format code for the given cell. -// returns a Jsonable when successful -func (m *WorkbookRange) GetNumberFormat()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetNumberFormat()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberFormat") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -418,38 +418,38 @@ func (m *WorkbookRange) GetSort()(WorkbookRangeSortable) { return nil } // GetText 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. -// returns a Jsonable when successful -func (m *WorkbookRange) GetText()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues 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. -// returns a Jsonable when successful -func (m *WorkbookRange) GetValues()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueTypes gets the valueTypes property value. Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. -// returns a Jsonable when successful -func (m *WorkbookRange) GetValueTypes()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRange) GetValueTypes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueTypes") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -643,21 +643,21 @@ func (m *WorkbookRange) SetFormat(value WorkbookRangeFormatable)() { } } // SetFormulas sets the formulas property value. Represents the formula in A1-style notation. -func (m *WorkbookRange) SetFormulas(value Jsonable)() { +func (m *WorkbookRange) SetFormulas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulas", value) if err != nil { panic(err) } } // SetFormulasLocal 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. -func (m *WorkbookRange) SetFormulasLocal(value Jsonable)() { +func (m *WorkbookRange) SetFormulasLocal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulasLocal", value) if err != nil { panic(err) } } // SetFormulasR1C1 sets the formulasR1C1 property value. Represents the formula in R1C1-style notation. -func (m *WorkbookRange) SetFormulasR1C1(value Jsonable)() { +func (m *WorkbookRange) SetFormulasR1C1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulasR1C1", value) if err != nil { panic(err) @@ -671,7 +671,7 @@ func (m *WorkbookRange) SetHidden(value *bool)() { } } // SetNumberFormat sets the numberFormat property value. Represents Excel's number format code for the given cell. -func (m *WorkbookRange) SetNumberFormat(value Jsonable)() { +func (m *WorkbookRange) SetNumberFormat(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberFormat", value) if err != nil { panic(err) @@ -706,21 +706,21 @@ func (m *WorkbookRange) SetSort(value WorkbookRangeSortable)() { } } // SetText 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. -func (m *WorkbookRange) SetText(value Jsonable)() { +func (m *WorkbookRange) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) } } // SetValues 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. -func (m *WorkbookRange) SetValues(value Jsonable)() { +func (m *WorkbookRange) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) } } // SetValueTypes sets the valueTypes property value. Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. -func (m *WorkbookRange) SetValueTypes(value Jsonable)() { +func (m *WorkbookRange) SetValueTypes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueTypes", value) if err != nil { panic(err) @@ -743,18 +743,18 @@ type WorkbookRangeable interface { GetColumnHidden()(*bool) GetColumnIndex()(*int32) GetFormat()(WorkbookRangeFormatable) - GetFormulas()(Jsonable) - GetFormulasLocal()(Jsonable) - GetFormulasR1C1()(Jsonable) + GetFormulas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFormulasLocal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFormulasR1C1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetHidden()(*bool) - GetNumberFormat()(Jsonable) + GetNumberFormat()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetRowCount()(*int32) GetRowHidden()(*bool) GetRowIndex()(*int32) GetSort()(WorkbookRangeSortable) - GetText()(Jsonable) - GetValues()(Jsonable) - GetValueTypes()(Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueTypes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetWorksheet()(WorkbookWorksheetable) SetAddress(value *string)() SetAddressLocal(value *string)() @@ -763,17 +763,17 @@ type WorkbookRangeable interface { SetColumnHidden(value *bool)() SetColumnIndex(value *int32)() SetFormat(value WorkbookRangeFormatable)() - SetFormulas(value Jsonable)() - SetFormulasLocal(value Jsonable)() - SetFormulasR1C1(value Jsonable)() + SetFormulas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFormulasLocal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFormulasR1C1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetHidden(value *bool)() - SetNumberFormat(value Jsonable)() + SetNumberFormat(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetRowCount(value *int32)() SetRowHidden(value *bool)() SetRowIndex(value *int32)() SetSort(value WorkbookRangeSortable)() - SetText(value Jsonable)() - SetValues(value Jsonable)() - SetValueTypes(value Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueTypes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetWorksheet(value WorkbookWorksheetable)() } diff --git a/models/workbook_range_view.go b/models/workbook_range_view.go index a58691d0ed6..a35543873c3 100644 --- a/models/workbook_range_view.go +++ b/models/workbook_range_view.go @@ -20,14 +20,14 @@ func CreateWorkbookRangeViewFromDiscriminatorValue(parseNode i878a80d2330e89d268 return NewWorkbookRangeView(), nil } // GetCellAddresses gets the cellAddresses property value. Represents the cell addresses -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetCellAddresses()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetCellAddresses()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cellAddresses") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -48,12 +48,12 @@ func (m *WorkbookRangeView) GetColumnCount()(*int32) { func (m *WorkbookRangeView) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() res["cellAddresses"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCellAddresses(val.(Jsonable)) + m.SetCellAddresses(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -68,32 +68,32 @@ func (m *WorkbookRangeView) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["formulas"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulas(val.(Jsonable)) + m.SetFormulas(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["formulasLocal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulasLocal(val.(Jsonable)) + m.SetFormulasLocal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["formulasR1C1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormulasR1C1(val.(Jsonable)) + m.SetFormulasR1C1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -108,12 +108,12 @@ func (m *WorkbookRangeView) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["numberFormat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberFormat(val.(Jsonable)) + m.SetNumberFormat(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -144,70 +144,70 @@ func (m *WorkbookRangeView) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueTypes(val.(Jsonable)) + m.SetValueTypes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFormulas gets the formulas property value. Represents the formula in A1-style notation. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetFormulas()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetFormulas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulas") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFormulasLocal 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. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetFormulasLocal()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetFormulasLocal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulasLocal") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFormulasR1C1 gets the formulasR1C1 property value. Represents the formula in R1C1-style notation. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetFormulasR1C1()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetFormulasR1C1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formulasR1C1") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -224,14 +224,14 @@ func (m *WorkbookRangeView) GetIndex()(*int32) { return nil } // GetNumberFormat gets the numberFormat property value. Represents Excel's number format code for the given cell. Read-only. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetNumberFormat()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetNumberFormat()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberFormat") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -260,38 +260,38 @@ func (m *WorkbookRangeView) GetRows()([]WorkbookRangeViewable) { return nil } // GetText 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. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetText()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues 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. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetValues()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueTypes gets the valueTypes property value. Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. -// returns a Jsonable when successful -func (m *WorkbookRangeView) GetValueTypes()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookRangeView) GetValueTypes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueTypes") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -382,7 +382,7 @@ func (m *WorkbookRangeView) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return nil } // SetCellAddresses sets the cellAddresses property value. Represents the cell addresses -func (m *WorkbookRangeView) SetCellAddresses(value Jsonable)() { +func (m *WorkbookRangeView) SetCellAddresses(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cellAddresses", value) if err != nil { panic(err) @@ -396,21 +396,21 @@ func (m *WorkbookRangeView) SetColumnCount(value *int32)() { } } // SetFormulas sets the formulas property value. Represents the formula in A1-style notation. -func (m *WorkbookRangeView) SetFormulas(value Jsonable)() { +func (m *WorkbookRangeView) SetFormulas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulas", value) if err != nil { panic(err) } } // SetFormulasLocal 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. -func (m *WorkbookRangeView) SetFormulasLocal(value Jsonable)() { +func (m *WorkbookRangeView) SetFormulasLocal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulasLocal", value) if err != nil { panic(err) } } // SetFormulasR1C1 sets the formulasR1C1 property value. Represents the formula in R1C1-style notation. -func (m *WorkbookRangeView) SetFormulasR1C1(value Jsonable)() { +func (m *WorkbookRangeView) SetFormulasR1C1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formulasR1C1", value) if err != nil { panic(err) @@ -424,7 +424,7 @@ func (m *WorkbookRangeView) SetIndex(value *int32)() { } } // SetNumberFormat sets the numberFormat property value. Represents Excel's number format code for the given cell. Read-only. -func (m *WorkbookRangeView) SetNumberFormat(value Jsonable)() { +func (m *WorkbookRangeView) SetNumberFormat(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberFormat", value) if err != nil { panic(err) @@ -445,21 +445,21 @@ func (m *WorkbookRangeView) SetRows(value []WorkbookRangeViewable)() { } } // SetText 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. -func (m *WorkbookRangeView) SetText(value Jsonable)() { +func (m *WorkbookRangeView) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) } } // SetValues 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. -func (m *WorkbookRangeView) SetValues(value Jsonable)() { +func (m *WorkbookRangeView) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) } } // SetValueTypes sets the valueTypes property value. Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. -func (m *WorkbookRangeView) SetValueTypes(value Jsonable)() { +func (m *WorkbookRangeView) SetValueTypes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueTypes", value) if err != nil { panic(err) @@ -468,28 +468,28 @@ func (m *WorkbookRangeView) SetValueTypes(value Jsonable)() { type WorkbookRangeViewable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCellAddresses()(Jsonable) + GetCellAddresses()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetColumnCount()(*int32) - GetFormulas()(Jsonable) - GetFormulasLocal()(Jsonable) - GetFormulasR1C1()(Jsonable) + GetFormulas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFormulasLocal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFormulasR1C1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetIndex()(*int32) - GetNumberFormat()(Jsonable) + GetNumberFormat()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetRowCount()(*int32) GetRows()([]WorkbookRangeViewable) - GetText()(Jsonable) - GetValues()(Jsonable) - GetValueTypes()(Jsonable) - SetCellAddresses(value Jsonable)() + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueTypes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetCellAddresses(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetColumnCount(value *int32)() - SetFormulas(value Jsonable)() - SetFormulasLocal(value Jsonable)() - SetFormulasR1C1(value Jsonable)() + SetFormulas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFormulasLocal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFormulasR1C1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetIndex(value *int32)() - SetNumberFormat(value Jsonable)() + SetNumberFormat(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetRowCount(value *int32)() SetRows(value []WorkbookRangeViewable)() - SetText(value Jsonable)() - SetValues(value Jsonable)() - SetValueTypes(value Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueTypes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/workbook_table_column.go b/models/workbook_table_column.go index fa36aee869c..6e6f99b4720 100644 --- a/models/workbook_table_column.go +++ b/models/workbook_table_column.go @@ -54,12 +54,12 @@ func (m *WorkbookTableColumn) GetFieldDeserializers()(map[string]func(i878a80d23 return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +102,14 @@ func (m *WorkbookTableColumn) GetName()(*string) { return nil } // GetValues 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. -// returns a Jsonable when successful -func (m *WorkbookTableColumn) GetValues()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookTableColumn) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +167,7 @@ func (m *WorkbookTableColumn) SetName(value *string)() { } } // SetValues 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. -func (m *WorkbookTableColumn) SetValues(value Jsonable)() { +func (m *WorkbookTableColumn) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -179,9 +179,9 @@ type WorkbookTableColumnable interface { GetFilter()(WorkbookFilterable) GetIndex()(*int32) GetName()(*string) - GetValues()(Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetFilter(value WorkbookFilterable)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/models/workbook_table_row.go b/models/workbook_table_row.go index 9663bf14b59..28a339c89a6 100644 --- a/models/workbook_table_row.go +++ b/models/workbook_table_row.go @@ -34,12 +34,12 @@ func (m *WorkbookTableRow) GetFieldDeserializers()(map[string]func(i878a80d2330e return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -58,14 +58,14 @@ func (m *WorkbookTableRow) GetIndex()(*int32) { return nil } // GetValues 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. -// returns a Jsonable when successful -func (m *WorkbookTableRow) GetValues()(Jsonable) { +// returns a UntypedNodeable when successful +func (m *WorkbookTableRow) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +97,7 @@ func (m *WorkbookTableRow) SetIndex(value *int32)() { } } // SetValues 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. -func (m *WorkbookTableRow) SetValues(value Jsonable)() { +func (m *WorkbookTableRow) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -107,7 +107,7 @@ type WorkbookTableRowable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetIndex()(*int32) - GetValues()(Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetIndex(value *int32)() - SetValues(value Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/policies/deviceregistrationpolicy_device_registration_policy_request_builder.go b/policies/deviceregistrationpolicy_device_registration_policy_request_builder.go index c96e3683fdd..aa9259f2202 100644 --- a/policies/deviceregistrationpolicy_device_registration_policy_request_builder.go +++ b/policies/deviceregistrationpolicy_device_registration_policy_request_builder.go @@ -13,6 +13,8 @@ type DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilder struct { } // DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilderGetQueryParameters read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. type DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilderGetRequestCon // NewDeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilderInternal instantiates a new DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilder and sets the default values. func NewDeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilder) { m := &DeviceregistrationpolicyDeviceRegistrationPolicyRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/deviceRegistrationPolicy{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/deviceRegistrationPolicy{?%24expand,%24select}", pathParameters), } return m } diff --git a/policies/permissiongrantpreapprovalpolicies_count_request_builder.go b/policies/permissiongrantpreapprovalpolicies_count_request_builder.go new file mode 100644 index 00000000000..854fd91b2e2 --- /dev/null +++ b/policies/permissiongrantpreapprovalpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package policies + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// PermissiongrantpreapprovalpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type PermissiongrantpreapprovalpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type PermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// PermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters +} +// NewPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal instantiates a new PermissiongrantpreapprovalpoliciesCountRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesCountRequestBuilder) { + m := &PermissiongrantpreapprovalpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/permissionGrantPreApprovalPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewPermissiongrantpreapprovalpoliciesCountRequestBuilder instantiates a new PermissiongrantpreapprovalpoliciesCountRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *PermissiongrantpreapprovalpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PermissiongrantpreapprovalpoliciesCountRequestBuilder when successful +func (m *PermissiongrantpreapprovalpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*PermissiongrantpreapprovalpoliciesCountRequestBuilder) { + return NewPermissiongrantpreapprovalpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go b/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go new file mode 100644 index 00000000000..06362e6388e --- /dev/null +++ b/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go @@ -0,0 +1,158 @@ +package policies + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.policyRoot entity. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters retrieve the list of permissionGrantPreApprovalPolicy objects in the tenant. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionGrantPreApprovalPolicyId provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.policyRoot entity. +// returns a *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) ByPermissionGrantPreApprovalPolicyId(permissionGrantPreApprovalPolicyId string)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionGrantPreApprovalPolicyId != "" { + urlTplParams["permissionGrantPreApprovalPolicy%2Did"] = permissionGrantPreApprovalPolicyId + } + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal instantiates a new PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + m := &PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/permissionGrantPreApprovalPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder instantiates a new PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *PermissiongrantpreapprovalpoliciesCountRequestBuilder when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) Count()(*PermissiongrantpreapprovalpoliciesCountRequestBuilder) { + return NewPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get retrieve the list of permissionGrantPreApprovalPolicy objects in the tenant. +// returns a PermissionGrantPreApprovalPolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-permissiongrantpreapprovalpolicies?view=graph-rest-beta +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyCollectionResponseable), nil +} +// Post create a new permissionGrantPreApprovalPolicy object. +// returns a PermissionGrantPreApprovalPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-post-permissiongrantpreapprovalpolicies?view=graph-rest-beta +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable), nil +} +// ToGetRequestInformation retrieve the list of permissionGrantPreApprovalPolicy objects in the tenant. +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new permissionGrantPreApprovalPolicy object. +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) WithUrl(rawUrl string)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go b/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go new file mode 100644 index 00000000000..ac3cb09c3fe --- /dev/null +++ b/policies/permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go @@ -0,0 +1,166 @@ +package policies + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.policyRoot entity. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a permissionGrantPreApprovalPolicy object. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters +} +// PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal instantiates a new PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + m := &PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/policies/permissionGrantPreApprovalPolicies/{permissionGrantPreApprovalPolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder instantiates a new PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder and sets the default values. +func NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a permissionGrantPreApprovalPolicy object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpreapprovalpolicy-delete?view=graph-rest-beta +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a permissionGrantPreApprovalPolicy object. +// returns a PermissionGrantPreApprovalPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpreapprovalpolicy-get?view=graph-rest-beta +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable), nil +} +// Patch update the properties of a permissionGrantPreApprovalPolicy object. +// returns a PermissionGrantPreApprovalPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpreapprovalpolicy-update?view=graph-rest-beta +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable), nil +} +// ToDeleteRequestInformation delete a permissionGrantPreApprovalPolicy object. +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a permissionGrantPreApprovalPolicy object. +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a permissionGrantPreApprovalPolicy object. +// returns a *RequestInformation when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, requestConfiguration *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder when successful +func (m *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) WithUrl(rawUrl string)(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/policies_request_builder.go b/policies/policies_request_builder.go index ca9b9cf4341..ad903cba641 100644 --- a/policies/policies_request_builder.go +++ b/policies/policies_request_builder.go @@ -202,6 +202,11 @@ func (m *PoliciesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4 func (m *PoliciesRequestBuilder) PermissionGrantPolicies()(*PermissiongrantpoliciesPermissionGrantPoliciesRequestBuilder) { return NewPermissiongrantpoliciesPermissionGrantPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// PermissionGrantPreApprovalPolicies provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.policyRoot entity. +// returns a *PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder when successful +func (m *PoliciesRequestBuilder) PermissionGrantPreApprovalPolicies()(*PermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + return NewPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RoleManagementPolicies provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity. // returns a *RolemanagementpoliciesRoleManagementPoliciesRequestBuilder when successful func (m *PoliciesRequestBuilder) RoleManagementPolicies()(*RolemanagementpoliciesRoleManagementPoliciesRequestBuilder) { diff --git a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go index 307e1139179..ebab37b5c94 100644 --- a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) Delete(ctx } return nil } -// Get the unique identifier for an entity. Read-only. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-get-file?view=graph-rest-beta func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemJobsItemDocumentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemJobsItemDocumentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printers_item_jobs_item_documents_request_builder.go b/print/printers_item_jobs_item_documents_request_builder.go index a44c9cca0f6..10f41cb7a0e 100644 --- a/print/printers_item_jobs_item_documents_request_builder.go +++ b/print/printers_item_jobs_item_documents_request_builder.go @@ -11,7 +11,7 @@ import ( type PrintersItemJobsItemDocumentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrintersItemJobsItemDocumentsRequestBuilderGetQueryParameters get documents from print +// PrintersItemJobsItemDocumentsRequestBuilderGetQueryParameters 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. type PrintersItemJobsItemDocumentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewPrintersItemJobsItemDocumentsRequestBuilder(rawUrl string, requestAdapte func (m *PrintersItemJobsItemDocumentsRequestBuilder) Count()(*PrintersItemJobsItemDocumentsCountRequestBuilder) { return NewPrintersItemJobsItemDocumentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get documents from print +// Get 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. // returns a PrintDocumentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-get-file?view=graph-rest-beta func (m *PrintersItemJobsItemDocumentsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemJobsItemDocumentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintDocumentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *PrintersItemJobsItemDocumentsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintDocumentable), nil } -// ToGetRequestInformation get documents from print +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *PrintersItemJobsItemDocumentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemJobsItemDocumentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/authenticationmethods_userregistrationdetails_user_registration_details_request_builder.go b/reports/authenticationmethods_userregistrationdetails_user_registration_details_request_builder.go index 9ac2b1773f5..5ed904cac0f 100644 --- a/reports/authenticationmethods_userregistrationdetails_user_registration_details_request_builder.go +++ b/reports/authenticationmethods_userregistrationdetails_user_registration_details_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilderGetQueryParameters get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilderGetQueryParameters 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. type AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewAuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsReque func (m *AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilder) Count()(*AuthenticationmethodsUserregistrationdetailsCountRequestBuilder) { return NewAuthenticationmethodsUserregistrationdetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// Get 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. // returns a UserRegistrationDetailsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -119,7 +119,7 @@ func (m *AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationDetailsable), nil } -// ToGetRequestInformation get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationmethodsUserregistrationdetailsUserRegistrationDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_custodians_item_lastindexoperation_last_index_operation_request_builder.go b/security/cases_ediscoverycases_item_custodians_item_lastindexoperation_last_index_operation_request_builder.go index 77d7acf193d..a55eeb90699 100644 --- a/security/cases_ediscoverycases_item_custodians_item_lastindexoperation_last_index_operation_request_builder.go +++ b/security/cases_ediscoverycases_item_custodians_item_lastindexoperation_last_index_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderGetQueryParameters operation entity that represents the latest indexing for the custodian. +// CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderGetQueryParameters get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. type CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,9 +40,12 @@ func NewCasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperati urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get operation entity that represents the latest indexing for the custodian. +// Get get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. // returns a EdiscoveryIndexOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-lastindexoperation?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryIndexOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperat } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryIndexOperationable), nil } -// ToGetRequestInformation operation entity that represents the latest indexing for the custodian. +// ToGetRequestInformation get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemLastindexoperationLastIndexOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_custodians_item_sitesources_site_sources_request_builder.go b/security/cases_ediscoverycases_item_custodians_item_sitesources_site_sources_request_builder.go index b8cfbe42a2d..c5314f87baa 100644 --- a/security/cases_ediscoverycases_item_custodians_item_sitesources_site_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_custodians_item_sitesources_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. +// CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters get a list of the siteSource objects associated with an ediscoveryCustodian. type CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuild func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Count()(*CasesEdiscoverycasesItemCustodiansItemSitesourcesCountRequestBuilder) { return NewCasesEdiscoverycasesItemCustodiansItemSitesourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for SharePoint sites associated with the custodian. +// Get get a list of the siteSource objects associated with an ediscoveryCustodian. // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable), nil } -// Post create new navigation property to siteSources for security +// Post create a new siteSource object associated with an eDiscovery custodian. // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-sitesources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable), nil } -// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. +// ToGetRequestInformation get a list of the siteSource objects associated with an ediscoveryCustodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to siteSources for security +// ToPostRequestInformation create a new siteSource object associated with an eDiscovery custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go b/security/cases_ediscoverycases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go index 4366fee7d79..a60ec6dc0d4 100644 --- a/security/cases_ediscoverycases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_custodians_item_unifiedgroupsources_unified_group_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. +// CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. type CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSou func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Count()(*CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesCountRequestBuilder) { return NewCasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for groups associated with the custodian. +// Get get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. // returns a UnifiedGroupSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-unifiedgroupsources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceCollectionResponseable), nil } -// Post create new navigation property to unifiedGroupSources for security +// Post create a new unifiedGroupSource object associated with an eDiscovery custodian. // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-unifiedgroupsources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable), nil } -// ToGetRequestInformation data source entity for groups associated with the custodian. +// ToGetRequestInformation get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to unifiedGroupSources for security +// ToPostRequestInformation create a new unifiedGroupSource object associated with an eDiscovery custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUnifiedgroupsourcesUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_custodians_item_usersources_user_sources_request_builder.go b/security/cases_ediscoverycases_item_custodians_item_usersources_user_sources_request_builder.go index 6792e38092b..5b4ed9acf82 100644 --- a/security/cases_ediscoverycases_item_custodians_item_usersources_user_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_custodians_item_usersources_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects associated with an ediscoveryCustodian. type CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuild func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Count()(*CasesEdiscoverycasesItemCustodiansItemUsersourcesCountRequestBuilder) { return NewCasesEdiscoverycasesItemCustodiansItemUsersourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// Get get a list of the userSource objects associated with an ediscoveryCustodian. // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-usersources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable), nil } -// Post create new navigation property to userSources for security +// Post create a new userSource object associated with an eDiscovery custodian. // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-usersources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable), nil } -// ToGetRequestInformation data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. +// ToGetRequestInformation get a list of the userSource objects associated with an ediscoveryCustodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to userSources for security +// ToPostRequestInformation create a new userSource object associated with an eDiscovery custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoverycasesItemCustodiansItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_legalholds_item_sitesources_site_sources_request_builder.go b/security/cases_ediscoverycases_item_legalholds_item_sitesources_site_sources_request_builder.go index a811c1ea754..71bcd5b63a7 100644 --- a/security/cases_ediscoverycases_item_legalholds_item_sitesources_site_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_legalholds_item_sitesources_site_sources_request_builder.go @@ -96,9 +96,12 @@ func (m *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable), nil } -// Post create new navigation property to siteSources for security +// Post create a new siteSource object. // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryholdpolicy-post-sitesources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to siteSources for security +// ToPostRequestInformation create a new siteSource object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoverycasesItemLegalholdsItemSitesourcesSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_legalholds_item_usersources_user_sources_request_builder.go b/security/cases_ediscoverycases_item_legalholds_item_usersources_user_sources_request_builder.go index 94e784b4a2b..47c9416140c 100644 --- a/security/cases_ediscoverycases_item_legalholds_item_usersources_user_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_legalholds_item_usersources_user_sources_request_builder.go @@ -96,9 +96,12 @@ func (m *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuil } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable), nil } -// Post create new navigation property to userSources for security +// Post create a new userSource object. // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryholdpolicy-post-usersources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to userSources for security +// ToPostRequestInformation create a new userSource object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoverycasesItemLegalholdsItemUsersourcesUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_reviewsets_item_files_ediscovery_file_item_request_builder.go b/security/cases_ediscoverycases_item_reviewsets_item_files_ediscovery_file_item_request_builder.go index 47ee5249705..8e2167de612 100644 --- a/security/cases_ediscoverycases_item_reviewsets_item_files_ediscovery_file_item_request_builder.go +++ b/security/cases_ediscoverycases_item_reviewsets_item_files_ediscovery_file_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters represents files within the review set. +// CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryFile object. type CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,9 +85,12 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBui func (m *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilder) ExtractedTextContent()(*CasesEdiscoverycasesItemReviewsetsItemFilesItemExtractedtextcontentExtractedTextContentRequestBuilder) { return NewCasesEdiscoverycasesItemReviewsetsItemFilesItemExtractedtextcontentExtractedTextContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents files within the review set. +// Get read the properties and relationships of an ediscoveryFile object. // returns a EdiscoveryFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryfile-get?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,7 +144,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents files within the review set. +// ToGetRequestInformation read the properties and relationships of an ediscoveryFile object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemFilesEdiscoveryFileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_reviewsets_item_files_request_builder.go b/security/cases_ediscoverycases_item_reviewsets_item_files_request_builder.go index e284ac09cff..1d2632ffe10 100644 --- a/security/cases_ediscoverycases_item_reviewsets_item_files_request_builder.go +++ b/security/cases_ediscoverycases_item_reviewsets_item_files_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilderGetQueryParameters represents files within the review set. +// CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilderGetQueryParameters get a list of the ediscoveryFile objects and their properties. type CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder(rawUrl string, func (m *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder) Count()(*CasesEdiscoverycasesItemReviewsetsItemFilesCountRequestBuilder) { return NewCasesEdiscoverycasesItemReviewsetsItemFilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents files within the review set. +// Get get a list of the ediscoveryFile objects and their properties. // returns a EdiscoveryFileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-files?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder) Post(ctx con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileable), nil } -// ToGetRequestInformation represents files within the review set. +// ToGetRequestInformation get a list of the ediscoveryFile objects and their properties. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemFilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_reviewsets_item_queries_ediscovery_review_set_query_item_request_builder.go b/security/cases_ediscoverycases_item_reviewsets_item_queries_ediscovery_review_set_query_item_request_builder.go index 56d8e9bb47c..23b914292da 100644 --- a/security/cases_ediscoverycases_item_reviewsets_item_queries_ediscovery_review_set_query_item_request_builder.go +++ b/security/cases_ediscoverycases_item_reviewsets_item_queries_ediscovery_review_set_query_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters represents queries within the review set. +// CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryReviewSetQuery object. type CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewCasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIte urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property queries for security +// Delete delete an ediscoveryReviewSetQuery object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-delete-queries?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIt } return nil } -// Get represents queries within the review set. +// Get read the properties and relationships of an ediscoveryReviewSetQuery object. // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-get?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,9 +111,12 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIt func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) MicrosoftGraphSecurityRun()(*CasesEdiscoverycasesItemReviewsetsItemQueriesItemMicrosoftgraphsecurityrunMicrosoftGraphSecurityRunRequestBuilder) { return NewCasesEdiscoverycasesItemReviewsetsItemQueriesItemMicrosoftgraphsecurityrunMicrosoftGraphSecurityRunRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property queries in security +// Patch update the properties of an ediscoveryReviewSetQuery object. // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-update?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +134,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIt } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable), nil } -// ToDeleteRequestInformation delete navigation property queries for security +// ToDeleteRequestInformation delete an ediscoveryReviewSetQuery object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +145,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents queries within the review set. +// ToGetRequestInformation read the properties and relationships of an ediscoveryReviewSetQuery object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +159,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property queries in security +// ToPatchRequestInformation update the properties of an ediscoveryReviewSetQuery object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_reviewsets_item_queries_request_builder.go b/security/cases_ediscoverycases_item_reviewsets_item_queries_request_builder.go index e820fc483c1..8a9e0926634 100644 --- a/security/cases_ediscoverycases_item_reviewsets_item_queries_request_builder.go +++ b/security/cases_ediscoverycases_item_reviewsets_item_queries_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters represents queries within the review set. +// CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters get the list of queries associated with an eDiscovery review set. type CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder(rawUrl strin func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) Count()(*CasesEdiscoverycasesItemReviewsetsItemQueriesCountRequestBuilder) { return NewCasesEdiscoverycasesItemReviewsetsItemQueriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents queries within the review set. +// Get get the list of queries associated with an eDiscovery review set. // returns a EdiscoveryReviewSetQueryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-queries?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) Get(ctx co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryCollectionResponseable), nil } -// Post create new navigation property to queries for security +// Post create a new ediscoveryReviewSetQuery object. // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-post-queries?view=graph-rest-beta func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) Post(ctx c } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable), nil } -// ToGetRequestInformation represents queries within the review set. +// ToGetRequestInformation get the list of queries associated with an eDiscovery review set. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to queries for security +// ToPostRequestInformation create a new ediscoveryReviewSetQuery object. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoverycasesItemReviewsetsItemQueriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_searches_item_additionalsources_additional_sources_request_builder.go b/security/cases_ediscoverycases_item_searches_item_additionalsources_additional_sources_request_builder.go index 7a64b90c9e8..51fe3f24bf3 100644 --- a/security/cases_ediscoverycases_item_searches_item_additionalsources_additional_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_searches_item_additionalsources_additional_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters adds an additional source to the eDiscovery search. +// CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters get the list of additional sources associated with an eDiscovery search. type CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewCasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRe func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder) Count()(*CasesEdiscoverycasesItemSearchesItemAdditionalsourcesCountRequestBuilder) { return NewCasesEdiscoverycasesItemSearchesItemAdditionalsourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get adds an additional source to the eDiscovery search. +// Get get the list of additional sources associated with an eDiscovery search. // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-additionalsources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesR } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable), nil } -// Post create new navigation property to additionalSources for security +// Post create a new additional source associated with an eDiscovery search. // returns a DataSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-post-additionalsources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesR } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable), nil } -// ToGetRequestInformation adds an additional source to the eDiscovery search. +// ToGetRequestInformation get the list of additional sources associated with an eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to additionalSources for security +// ToPostRequestInformation create a new additional source associated with an eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemAdditionalsourcesAdditionalSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_searches_item_custodiansources_custodian_sources_request_builder.go b/security/cases_ediscoverycases_item_searches_item_custodiansources_custodian_sources_request_builder.go index 132abaa518b..ca9b49268c6 100644 --- a/security/cases_ediscoverycases_item_searches_item_custodiansources_custodian_sources_request_builder.go +++ b/security/cases_ediscoverycases_item_searches_item_custodiansources_custodian_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters custodian sources that are included in the eDiscovery search. +// CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters get the list of custodial data sources associated with an eDiscovery search. type CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewCasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequ func (m *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilder) Count()(*CasesEdiscoverycasesItemSearchesItemCustodiansourcesCountRequestBuilder) { return NewCasesEdiscoverycasesItemSearchesItemCustodiansourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get custodian sources that are included in the eDiscovery search. +// Get get the list of custodial data sources associated with an eDiscovery search. // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-custodiansources?view=graph-rest-beta func (m *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesReq } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable), nil } -// ToGetRequestInformation custodian sources that are included in the eDiscovery search. +// ToGetRequestInformation get the list of custodial data sources associated with an eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemCustodiansourcesCustodianSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_searches_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go b/security/cases_ediscoverycases_item_searches_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go index 463c3d75195..60722325f70 100644 --- a/security/cases_ediscoverycases_item_searches_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go +++ b/security/cases_ediscoverycases_item_searches_item_lastestimatestatisticsoperation_last_estimate_statistics_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters the last estimate operation associated with the eDiscovery search. +// CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters get the last ediscoveryEstimateOperation objects and their properties. type CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,9 +40,12 @@ func NewCasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastE urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get the last estimate operation associated with the eDiscovery search. +// Get get the last ediscoveryEstimateOperation objects and their properties. // returns a EdiscoveryEstimateOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-lastestimatestatisticsoperation?view=graph-rest-beta func (m *CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryEstimateOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLast } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryEstimateOperationable), nil } -// ToGetRequestInformation the last estimate operation associated with the eDiscovery search. +// ToGetRequestInformation get the last ediscoveryEstimateOperation objects and their properties. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoverycasesItemSearchesItemLastestimatestatisticsoperationLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportreport_microsoft_graph_security_export_report_request_builder.go b/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportreport_microsoft_graph_security_export_report_request_builder.go index 4d87b1a3249..c2fa1437224 100644 --- a/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportreport_microsoft_graph_security_export_report_request_builder.go +++ b/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportreport_microsoft_graph_security_export_report_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMi urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMicrosoftGraphSecurityExportReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action exportReport +// Post export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMicrosoftGraphSecurityExportReportRequestBuilder) Post(ctx context.Context, body CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); @@ -46,7 +46,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportM } return nil } -// ToPostRequestInformation invoke action exportReport +// ToPostRequestInformation export an item report from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMicrosoftGraphSecurityExportReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportreportMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportresult_microsoft_graph_security_export_result_request_builder.go b/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportresult_microsoft_graph_security_export_result_request_builder.go index 570db31e18f..00bddfad096 100644 --- a/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportresult_microsoft_graph_security_export_result_request_builder.go +++ b/security/cases_ediscoverycases_item_searches_item_microsoftgraphsecurityexportresult_microsoft_graph_security_export_result_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMi urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMicrosoftGraphSecurityExportResultRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action exportResult +// Post export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMicrosoftGraphSecurityExportResultRequestBuilder) Post(ctx context.Context, body CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); @@ -46,7 +46,7 @@ func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultM } return nil } -// ToPostRequestInformation invoke action exportResult +// ToPostRequestInformation export results from an estimated ediscoverySearch. For details, see Manage a collection estimate. // returns a *RequestInformation when successful func (m *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMicrosoftGraphSecurityExportResultRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoverycasesItemSearchesItemMicrosoftgraphsecurityexportresultMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_claimspolicy_claims_policy_request_builder.go b/serviceprincipals/item_claimspolicy_claims_policy_request_builder.go index 917bcb0ab49..b021e7cc671 100644 --- a/serviceprincipals/item_claimspolicy_claims_policy_request_builder.go +++ b/serviceprincipals/item_claimspolicy_claims_policy_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemClaimspolicyClaimsPolicyRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable), nil } -// Patch update a customClaimsPolicy object. +// Patch create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a CustomClaimsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta func (m *ItemClaimspolicyClaimsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimspolicyClaimsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemClaimspolicyClaimsPolicyRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a customClaimsPolicy object. +// ToPatchRequestInformation create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a *RequestInformation when successful func (m *ItemClaimspolicyClaimsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimspolicyClaimsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_permissiongrantpreapprovalpolicies_count_request_builder.go b/serviceprincipals/item_permissiongrantpreapprovalpolicies_count_request_builder.go new file mode 100644 index 00000000000..9d213d43bd4 --- /dev/null +++ b/serviceprincipals/item_permissiongrantpreapprovalpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package serviceprincipals + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetQueryParameters +} +// NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal instantiates a new ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) { + m := &ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/permissionGrantPreApprovalPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilder instantiates a new ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder when successful +func (m *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) { + return NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go b/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go new file mode 100644 index 00000000000..bbe2bdf1d74 --- /dev/null +++ b/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policies_request_builder.go @@ -0,0 +1,110 @@ +package serviceprincipals + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetQueryParameters +} +// ByPermissionGrantPreApprovalPolicyId provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. +// returns a *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) ByPermissionGrantPreApprovalPolicyId(permissionGrantPreApprovalPolicyId string)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionGrantPreApprovalPolicyId != "" { + urlTplParams["permissionGrantPreApprovalPolicy%2Did"] = permissionGrantPreApprovalPolicyId + } + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal instantiates a new ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + m := &ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/permissionGrantPreApprovalPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder instantiates a new ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) Count()(*ItemPermissiongrantpreapprovalpoliciesCountRequestBuilder) { + return NewItemPermissiongrantpreapprovalpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +// returns a PermissionGrantPreApprovalPolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyCollectionResponseable), nil +} +// ToGetRequestInformation retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +// returns a *RequestInformation when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go b/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go new file mode 100644 index 00000000000..dc1fbd6d0c0 --- /dev/null +++ b/serviceprincipals/item_permissiongrantpreapprovalpolicies_permission_grant_pre_approval_policy_item_request_builder.go @@ -0,0 +1,84 @@ +package serviceprincipals + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetQueryParameters +} +// NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal instantiates a new ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + m := &ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/permissionGrantPreApprovalPolicies/{permissionGrantPreApprovalPolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder instantiates a new ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder and sets the default values. +func NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +// returns a PermissionGrantPreApprovalPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-permissiongrantpreapprovalpolicies?view=graph-rest-beta +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionGrantPreApprovalPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPreApprovalPolicyable), nil +} +// ToGetRequestInformation retrieve the permissionGrantPreApprovalPolicy object for the servicePrincipal. +// returns a *RequestInformation when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder when successful +func (m *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder) { + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/service_principal_item_request_builder.go b/serviceprincipals/service_principal_item_request_builder.go index 7f4220eff50..770e97d8a09 100644 --- a/serviceprincipals/service_principal_item_request_builder.go +++ b/serviceprincipals/service_principal_item_request_builder.go @@ -239,6 +239,11 @@ func (m *ServicePrincipalItemRequestBuilder) Patch(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable), nil } +// PermissionGrantPreApprovalPolicies provides operations to manage the permissionGrantPreApprovalPolicies property of the microsoft.graph.servicePrincipal entity. +// returns a *ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder when successful +func (m *ServicePrincipalItemRequestBuilder) PermissionGrantPreApprovalPolicies()(*ItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilder) { + return NewItemPermissiongrantpreapprovalpoliciesPermissionGrantPreApprovalPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RemoteDesktopSecurityConfiguration provides operations to manage the remoteDesktopSecurityConfiguration property of the microsoft.graph.servicePrincipal entity. // returns a *ItemRemotedesktopsecurityconfigurationRemoteDesktopSecurityConfigurationRequestBuilder when successful func (m *ServicePrincipalItemRequestBuilder) RemoteDesktopSecurityConfiguration()(*ItemRemotedesktopsecurityconfigurationRemoteDesktopSecurityConfigurationRequestBuilder) { diff --git a/shares/item_list_items_item_permissions_count_request_builder.go b/shares/item_list_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..ab26ee07d6a --- /dev/null +++ b/shares/item_list_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListItemsItemPermissionsCountRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsCountRequestBuilder) { + m := &ItemListItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsCountRequestBuilder instantiates a new ItemListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsCountRequestBuilder) { + return NewItemListItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_permissions_item_grant_post_request_body.go b/shares/item_list_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..e9c38a5f279 --- /dev/null +++ b/shares/item_list_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListItemsItemPermissionsItemGrantPostRequestBody instantiates a new ItemListItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListItemsItemPermissionsItemGrantPostRequestBody()(*ItemListItemsItemPermissionsItemGrantPostRequestBody) { + m := &ItemListItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/shares/item_list_items_item_permissions_item_grant_post_response.go b/shares/item_list_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..e8f1cd65672 --- /dev/null +++ b/shares/item_list_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListItemsItemPermissionsItemGrantPostResponse instantiates a new ItemListItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemListItemsItemPermissionsItemGrantPostResponse()(*ItemListItemsItemPermissionsItemGrantPostResponse) { + m := &ItemListItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/shares/item_list_items_item_permissions_item_grant_request_builder.go b/shares/item_list_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..4dc820df35d --- /dev/null +++ b/shares/item_list_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + m := &ItemListItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsItemGrantRequestBuilder instantiates a new ItemListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_permissions_item_grant_response.go b/shares/item_list_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..a432edf2c5a --- /dev/null +++ b/shares/item_list_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListItemsItemPermissionsItemGrantResponse struct { + ItemListItemsItemPermissionsItemGrantPostResponse +} +// NewItemListItemsItemPermissionsItemGrantResponse instantiates a new ItemListItemsItemPermissionsItemGrantResponse and sets the default values. +func NewItemListItemsItemPermissionsItemGrantResponse()(*ItemListItemsItemPermissionsItemGrantResponse) { + m := &ItemListItemsItemPermissionsItemGrantResponse{ + ItemListItemsItemPermissionsItemGrantPostResponse: *NewItemListItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListItemsItemPermissionsItemGrantResponseable interface { + ItemListItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..aee709f59aa --- /dev/null +++ b/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..7c7a66092ab --- /dev/null +++ b/shares/item_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_permissions_permission_item_request_builder.go b/shares/item_list_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..922a24a2b21 --- /dev/null +++ b/shares/item_list_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from shares +type ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemListItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for shares +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemListItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for shares +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from shares +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in shares +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + return NewItemListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_permissions_request_builder.go b/shares/item_list_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..c6822e2fc1d --- /dev/null +++ b/shares/item_list_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from shares +type ItemListItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListItemsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListItemsItemPermissionsRequestBuilderInternal instantiates a new ItemListItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsRequestBuilder) { + m := &ItemListItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListItemsItemPermissionsRequestBuilder instantiates a new ItemListItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) Count()(*ItemListItemsItemPermissionsCountRequestBuilder) { + return NewItemListItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from shares +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from shares +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for shares +// returns a *RequestInformation when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListItemsItemPermissionsRequestBuilder when successful +func (m *ItemListItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemPermissionsRequestBuilder) { + return NewItemListItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_list_item_item_request_builder.go b/shares/item_list_items_list_item_item_request_builder.go index 6559c84e7d1..4949d90614c 100644 --- a/shares/item_list_items_list_item_item_request_builder.go +++ b/shares/item_list_items_list_item_item_request_builder.go @@ -155,6 +155,11 @@ func (m *ItemListItemsListItemItemRequestBuilder) Patch(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListItemsItemPermissionsRequestBuilder when successful +func (m *ItemListItemsListItemItemRequestBuilder) Permissions()(*ItemListItemsItemPermissionsRequestBuilder) { + return NewItemListItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property items for shares // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/shares/item_list_permissions_count_request_builder.go b/shares/item_list_permissions_count_request_builder.go new file mode 100644 index 00000000000..87e81ffd90e --- /dev/null +++ b/shares/item_list_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListPermissionsCountRequestBuilderInternal instantiates a new ItemListPermissionsCountRequestBuilder and sets the default values. +func NewItemListPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsCountRequestBuilder) { + m := &ItemListPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListPermissionsCountRequestBuilder instantiates a new ItemListPermissionsCountRequestBuilder and sets the default values. +func NewItemListPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsCountRequestBuilder when successful +func (m *ItemListPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsCountRequestBuilder) { + return NewItemListPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_permissions_item_grant_post_request_body.go b/shares/item_list_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..6277f436799 --- /dev/null +++ b/shares/item_list_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListPermissionsItemGrantPostRequestBody instantiates a new ItemListPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListPermissionsItemGrantPostRequestBody()(*ItemListPermissionsItemGrantPostRequestBody) { + m := &ItemListPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/shares/item_list_permissions_item_grant_post_response.go b/shares/item_list_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..ddff0cae951 --- /dev/null +++ b/shares/item_list_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListPermissionsItemGrantPostResponse instantiates a new ItemListPermissionsItemGrantPostResponse and sets the default values. +func NewItemListPermissionsItemGrantPostResponse()(*ItemListPermissionsItemGrantPostResponse) { + m := &ItemListPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/shares/item_list_permissions_item_grant_request_builder.go b/shares/item_list_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..645450637e7 --- /dev/null +++ b/shares/item_list_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemGrantRequestBuilder) { + m := &ItemListPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListPermissionsItemGrantRequestBuilder instantiates a new ItemListPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsItemGrantRequestBuilder when successful +func (m *ItemListPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsItemGrantRequestBuilder) { + return NewItemListPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_permissions_item_grant_response.go b/shares/item_list_permissions_item_grant_response.go new file mode 100644 index 00000000000..17b412cc777 --- /dev/null +++ b/shares/item_list_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListPermissionsItemGrantPostResponseable instead. +type ItemListPermissionsItemGrantResponse struct { + ItemListPermissionsItemGrantPostResponse +} +// NewItemListPermissionsItemGrantResponse instantiates a new ItemListPermissionsItemGrantResponse and sets the default values. +func NewItemListPermissionsItemGrantResponse()(*ItemListPermissionsItemGrantResponse) { + m := &ItemListPermissionsItemGrantResponse{ + ItemListPermissionsItemGrantPostResponse: *NewItemListPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListPermissionsItemGrantPostResponseable instead. +type ItemListPermissionsItemGrantResponseable interface { + ItemListPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/shares/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go b/shares/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..289d2145ba9 --- /dev/null +++ b/shares/item_list_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package shares + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/shares/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go b/shares/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..424224d1147 --- /dev/null +++ b/shares/item_list_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_permissions_permission_item_request_builder.go b/shares/item_list_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..fe774feb7af --- /dev/null +++ b/shares/item_list_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from shares +type ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsPermissionItemRequestBuilder) { + m := &ItemListPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListPermissionsPermissionItemRequestBuilder instantiates a new ItemListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for shares +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListPermissionsItemGrantRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) Grant()(*ItemListPermissionsItemGrantRequestBuilder) { + return NewItemListPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for shares +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from shares +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in shares +// returns a *RequestInformation when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsPermissionItemRequestBuilder) { + return NewItemListPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_permissions_request_builder.go b/shares/item_list_permissions_request_builder.go new file mode 100644 index 00000000000..996a8bb9bac --- /dev/null +++ b/shares/item_list_permissions_request_builder.go @@ -0,0 +1,152 @@ +package shares + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListPermissionsRequestBuilderGetQueryParameters get permissions from shares +type ItemListPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListPermissionsRequestBuilderGetQueryParameters +} +// ItemListPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListPermissionsRequestBuilderInternal instantiates a new ItemListPermissionsRequestBuilder and sets the default values. +func NewItemListPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsRequestBuilder) { + m := &ItemListPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListPermissionsRequestBuilder instantiates a new ItemListPermissionsRequestBuilder and sets the default values. +func NewItemListPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListPermissionsCountRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) Count()(*ItemListPermissionsCountRequestBuilder) { + return NewItemListPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from shares +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for shares +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from shares +// returns a *RequestInformation when successful +func (m *ItemListPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for shares +// returns a *RequestInformation when successful +func (m *ItemListPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListPermissionsRequestBuilder when successful +func (m *ItemListPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListPermissionsRequestBuilder) { + return NewItemListPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_request_builder.go b/shares/item_list_request_builder.go index 7cdfa260e85..a382f6fa89f 100644 --- a/shares/item_list_request_builder.go +++ b/shares/item_list_request_builder.go @@ -150,6 +150,11 @@ func (m *ItemListRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListPermissionsRequestBuilder when successful +func (m *ItemListRequestBuilder) Permissions()(*ItemListPermissionsRequestBuilder) { + return NewItemListPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *ItemListSubscriptionsRequestBuilder when successful func (m *ItemListRequestBuilder) Subscriptions()(*ItemListSubscriptionsRequestBuilder) { diff --git a/sites/item_lists_item_items_item_documentsetversions_document_set_version_item_request_builder.go b/sites/item_lists_item_items_item_documentsetversions_document_set_version_item_request_builder.go index a0f994b7ec7..e9b137b7821 100644 --- a/sites/item_lists_item_items_item_documentsetversions_document_set_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_documentsetversions_document_set_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderGetQueryParameters version information for a document set version created by a user. +// ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderGetQueryParameters read the properties and relationships of a documentSetVersion object. type ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBu urlParams["request-raw-url"] = rawUrl return NewItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property documentSetVersions for sites +// Delete delete a version of a document set in a list. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-beta func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestB func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) Fields()(*ItemListsItemItemsItemDocumentsetversionsItemFieldsRequestBuilder) { return NewItemListsItemItemsItemDocumentsetversionsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get version information for a document set version created by a user. +// Get read the properties and relationships of a documentSetVersion object. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-beta func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +126,7 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestB func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) Restore()(*ItemListsItemItemsItemDocumentsetversionsItemRestoreRequestBuilder) { return NewItemListsItemItemsItemDocumentsetversionsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property documentSetVersions for sites +// ToDeleteRequestInformation delete a version of a document set in a list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +137,7 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation version information for a document set version created by a user. +// ToGetRequestInformation read the properties and relationships of a documentSetVersion object. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_documentsetversions_document_set_versions_request_builder.go b/sites/item_lists_item_items_item_documentsetversions_document_set_versions_request_builder.go index 7fcf8de59be..28ad10fc940 100644 --- a/sites/item_lists_item_items_item_documentsetversions_document_set_versions_request_builder.go +++ b/sites/item_lists_item_items_item_documentsetversions_document_set_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderGetQueryParameters version information for a document set version created by a user. +// ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderGetQueryParameters get a list of the versions of a document set item in a list. type ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuild func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder) Count()(*ItemListsItemItemsItemDocumentsetversionsCountRequestBuilder) { return NewItemListsItemItemsItemDocumentsetversionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get version information for a document set version created by a user. +// Get get a list of the versions of a document set item in a list. // returns a DocumentSetVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-beta func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable), nil } -// Post create new navigation property to documentSetVersions for sites +// Post create a new version of a document set item in a list. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-beta func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable), nil } -// ToGetRequestInformation version information for a document set version created by a user. +// ToGetRequestInformation get a list of the versions of a document set item in a list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to documentSetVersions for sites +// ToPostRequestInformation create a new version of a document set item in a list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListsItemItemsItemDocumentsetversionsDocumentSetVersionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_fields_request_builder.go b/sites/item_lists_item_items_item_fields_request_builder.go index 642411e40c5..03a4fea0d7d 100644 --- a/sites/item_lists_item_items_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_fields_request_builder.go @@ -90,9 +90,12 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable), nil } -// Patch update the navigation property fields in sites +// Patch update the properties on a listItem. // returns a FieldValueSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-beta func (m *ItemListsItemItemsItemFieldsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +138,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property fields in sites +// ToPatchRequestInformation update the properties on a listItem. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_permissions_count_request_builder.go b/sites/item_lists_item_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..96b3d545a1e --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListsItemItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListsItemItemsItemPermissionsCountRequestBuilderInternal instantiates a new ItemListsItemItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsCountRequestBuilder) { + m := &ItemListsItemItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListsItemItemsItemPermissionsCountRequestBuilder instantiates a new ItemListsItemItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemPermissionsCountRequestBuilder) { + return NewItemListsItemItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_permissions_item_grant_post_request_body.go b/sites/item_lists_item_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..d869522617a --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListsItemItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListsItemItemsItemPermissionsItemGrantPostRequestBody instantiates a new ItemListsItemItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListsItemItemsItemPermissionsItemGrantPostRequestBody()(*ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) { + m := &ItemListsItemItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListsItemItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListsItemItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/sites/item_lists_item_items_item_permissions_item_grant_post_response.go b/sites/item_lists_item_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..e30fe122fbe --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListsItemItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListsItemItemsItemPermissionsItemGrantPostResponse instantiates a new ItemListsItemItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemListsItemItemsItemPermissionsItemGrantPostResponse()(*ItemListsItemItemsItemPermissionsItemGrantPostResponse) { + m := &ItemListsItemItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListsItemItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListsItemItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/sites/item_lists_item_items_item_permissions_item_grant_request_builder.go b/sites/item_lists_item_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..c0123fdb498 --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListsItemItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListsItemItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + m := &ItemListsItemItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListsItemItemsItemPermissionsItemGrantRequestBuilder instantiates a new ItemListsItemItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListsItemItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListsItemItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListsItemItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListsItemItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListsItemItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListsItemItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListsItemItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListsItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListsItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_permissions_item_grant_response.go b/sites/item_lists_item_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..102f2edbae8 --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListsItemItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListsItemItemsItemPermissionsItemGrantResponse struct { + ItemListsItemItemsItemPermissionsItemGrantPostResponse +} +// NewItemListsItemItemsItemPermissionsItemGrantResponse instantiates a new ItemListsItemItemsItemPermissionsItemGrantResponse and sets the default values. +func NewItemListsItemItemsItemPermissionsItemGrantResponse()(*ItemListsItemItemsItemPermissionsItemGrantResponse) { + m := &ItemListsItemItemsItemPermissionsItemGrantResponse{ + ItemListsItemItemsItemPermissionsItemGrantPostResponse: *NewItemListsItemItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListsItemItemsItemPermissionsItemGrantPostResponseable instead. +type ItemListsItemItemsItemPermissionsItemGrantResponseable interface { + ItemListsItemItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..29e3eb967a6 --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..8332c5d8694 --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_permissions_permission_item_request_builder.go b/sites/item_lists_item_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..e5ef0624737 --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from sites +type ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for sites +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListsItemItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemListsItemItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemListsItemItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListsItemItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for sites +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from sites +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in sites +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + return NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_permissions_request_builder.go b/sites/item_lists_item_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..fe98920213f --- /dev/null +++ b/sites/item_lists_item_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type ItemListsItemItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from sites +type ItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemItemsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListsItemItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListsItemItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListsItemItemsItemPermissionsRequestBuilderInternal instantiates a new ItemListsItemItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsRequestBuilder) { + m := &ItemListsItemItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListsItemItemsItemPermissionsRequestBuilder instantiates a new ItemListsItemItemsItemPermissionsRequestBuilder and sets the default values. +func NewItemListsItemItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListsItemItemsItemPermissionsCountRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) Count()(*ItemListsItemItemsItemPermissionsCountRequestBuilder) { + return NewItemListsItemItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from sites +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from sites +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for sites +// returns a *RequestInformation when successful +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemItemsItemPermissionsRequestBuilder when successful +func (m *ItemListsItemItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemPermissionsRequestBuilder) { + return NewItemListsItemItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_list_item_item_request_builder.go b/sites/item_lists_item_items_list_item_item_request_builder.go index 2fcd7770512..023affa3521 100644 --- a/sites/item_lists_item_items_list_item_item_request_builder.go +++ b/sites/item_lists_item_items_list_item_item_request_builder.go @@ -161,6 +161,11 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *ItemListsItemItemsItemPermissionsRequestBuilder when successful +func (m *ItemListsItemItemsListItemItemRequestBuilder) Permissions()(*ItemListsItemItemsItemPermissionsRequestBuilder) { + return NewItemListsItemItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation removes an item from a list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/sites/item_lists_item_permissions_count_request_builder.go b/sites/item_lists_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..f4ff92fc77f --- /dev/null +++ b/sites/item_lists_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemListsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemListsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewItemListsItemPermissionsCountRequestBuilderInternal instantiates a new ItemListsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsCountRequestBuilder) { + m := &ItemListsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemListsItemPermissionsCountRequestBuilder instantiates a new ItemListsItemPermissionsCountRequestBuilder and sets the default values. +func NewItemListsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemPermissionsCountRequestBuilder when successful +func (m *ItemListsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemPermissionsCountRequestBuilder) { + return NewItemListsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_permissions_item_grant_post_request_body.go b/sites/item_lists_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..b6322eaf0db --- /dev/null +++ b/sites/item_lists_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListsItemPermissionsItemGrantPostRequestBody instantiates a new ItemListsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewItemListsItemPermissionsItemGrantPostRequestBody()(*ItemListsItemPermissionsItemGrantPostRequestBody) { + m := &ItemListsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *ItemListsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type ItemListsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/sites/item_lists_item_permissions_item_grant_post_response.go b/sites/item_lists_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..3d6c14b90ae --- /dev/null +++ b/sites/item_lists_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemListsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemListsItemPermissionsItemGrantPostResponse instantiates a new ItemListsItemPermissionsItemGrantPostResponse and sets the default values. +func NewItemListsItemPermissionsItemGrantPostResponse()(*ItemListsItemPermissionsItemGrantPostResponse) { + m := &ItemListsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *ItemListsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemListsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemListsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/sites/item_lists_item_permissions_item_grant_request_builder.go b/sites/item_lists_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..14369967fd0 --- /dev/null +++ b/sites/item_lists_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type ItemListsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemPermissionsItemGrantRequestBuilderInternal instantiates a new ItemListsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsItemGrantRequestBuilder) { + m := &ItemListsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewItemListsItemPermissionsItemGrantRequestBuilder instantiates a new ItemListsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewItemListsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a ItemListsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a ItemListsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *ItemListsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemListsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemListsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemListsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemListsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemPermissionsItemGrantRequestBuilder) { + return NewItemListsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_permissions_item_grant_response.go b/sites/item_lists_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..c23dca87ac3 --- /dev/null +++ b/sites/item_lists_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemListsItemPermissionsItemGrantPostResponseable instead. +type ItemListsItemPermissionsItemGrantResponse struct { + ItemListsItemPermissionsItemGrantPostResponse +} +// NewItemListsItemPermissionsItemGrantResponse instantiates a new ItemListsItemPermissionsItemGrantResponse and sets the default values. +func NewItemListsItemPermissionsItemGrantResponse()(*ItemListsItemPermissionsItemGrantResponse) { + m := &ItemListsItemPermissionsItemGrantResponse{ + ItemListsItemPermissionsItemGrantPostResponse: *NewItemListsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemListsItemPermissionsItemGrantPostResponseable instead. +type ItemListsItemPermissionsItemGrantResponseable interface { + ItemListsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..dd44770e0d9 --- /dev/null +++ b/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package sites + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..3decba5e97d --- /dev/null +++ b/sites/item_lists_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemListsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_permissions_permission_item_request_builder.go b/sites/item_lists_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..c0cb4e9b212 --- /dev/null +++ b/sites/item_lists_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from sites +type ItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// ItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemListsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new ItemListsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsPermissionItemRequestBuilder) { + m := &ItemListsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemListsItemPermissionsPermissionItemRequestBuilder instantiates a new ItemListsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewItemListsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for sites +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *ItemListsItemPermissionsItemGrantRequestBuilder when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemListsItemPermissionsItemGrantRequestBuilder) { + return NewItemListsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewItemListsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for sites +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from sites +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in sites +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemPermissionsPermissionItemRequestBuilder) { + return NewItemListsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_permissions_request_builder.go b/sites/item_lists_item_permissions_request_builder.go new file mode 100644 index 00000000000..efec6ad582a --- /dev/null +++ b/sites/item_lists_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package sites + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemListsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type ItemListsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemListsItemPermissionsRequestBuilderGetQueryParameters get permissions from sites +type ItemListsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemListsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemListsItemPermissionsRequestBuilderGetQueryParameters +} +// ItemListsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemListsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListsItemPermissionsPermissionItemRequestBuilder when successful +func (m *ItemListsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemListsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewItemListsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemListsItemPermissionsRequestBuilderInternal instantiates a new ItemListsItemPermissionsRequestBuilder and sets the default values. +func NewItemListsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsRequestBuilder) { + m := &ItemListsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemListsItemPermissionsRequestBuilder instantiates a new ItemListsItemPermissionsRequestBuilder and sets the default values. +func NewItemListsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemListsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemListsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemListsItemPermissionsCountRequestBuilder when successful +func (m *ItemListsItemPermissionsRequestBuilder) Count()(*ItemListsItemPermissionsCountRequestBuilder) { + return NewItemListsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from sites +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for sites +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemListsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from sites +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for sites +// returns a *RequestInformation when successful +func (m *ItemListsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemListsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemListsItemPermissionsRequestBuilder when successful +func (m *ItemListsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemPermissionsRequestBuilder) { + return NewItemListsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 1654b681f6d..3b9c87a9fa8 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. +// ItemListsListItemRequestBuilderGetQueryParameters return the metadata for a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a list. +// Get return the metadata for a list. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -153,6 +153,11 @@ func (m *ItemListsListItemRequestBuilder) Patch(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *ItemListsItemPermissionsRequestBuilder when successful +func (m *ItemListsListItemRequestBuilder) Permissions()(*ItemListsItemPermissionsRequestBuilder) { + return NewItemListsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *ItemListsItemSubscriptionsRequestBuilder when successful func (m *ItemListsListItemRequestBuilder) Subscriptions()(*ItemListsItemSubscriptionsRequestBuilder) { @@ -169,7 +174,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. +// ToGetRequestInformation return the metadata for a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_termstore_groups_item_sets_item_terms_request_builder.go b/sites/item_termstore_groups_item_sets_item_terms_request_builder.go index 28c622ad9e2..137db2d8c23 100644 --- a/sites/item_termstore_groups_item_sets_item_terms_request_builder.go +++ b/sites/item_termstore_groups_item_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermstoreGroupsItemSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermstoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. +// ItemTermstoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. type ItemTermstoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemTermstoreGroupsItemSetsItemTermsRequestBuilder(rawUrl string, reques func (m *ItemTermstoreGroupsItemSetsItemTermsRequestBuilder) Count()(*ItemTermstoreGroupsItemSetsItemTermsCountRequestBuilder) { return NewItemTermstoreGroupsItemSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get all the terms under the set. +// Get read the properties and relationships of a term object. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTermstoreGroupsItemSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermstoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemTermstoreGroupsItemSetsItemTermsRequestBuilder) Post(ctx context.Co } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation all the terms under the set. +// ToGetRequestInformation read the properties and relationships of a term object. // returns a *RequestInformation when successful func (m *ItemTermstoreGroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermstoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_termstore_groups_item_sets_item_terms_term_item_request_builder.go b/sites/item_termstore_groups_item_sets_item_terms_term_item_request_builder.go index e334988d1b5..354a3557dca 100644 --- a/sites/item_termstore_groups_item_sets_item_terms_term_item_request_builder.go +++ b/sites/item_termstore_groups_item_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. +// ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. type ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx } return nil } -// Get all the terms under the set. +// Get read the properties and relationships of a term object. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-beta func (m *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +139,7 @@ func (m *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation all the terms under the set. +// ToGetRequestInformation read the properties and relationships of a term object. // returns a *RequestInformation when successful func (m *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermstoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index d0bb495ed79..2fc54e80d4d 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -11,7 +11,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. +// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. +// Get search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetallsitesGetAllSitesRequestBuilde func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. +// ToGetRequestInformation search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backuprestore_backup_restore_request_builder.go b/solutions/backuprestore_backup_restore_request_builder.go new file mode 100644 index 00000000000..89a0e9d292c --- /dev/null +++ b/solutions/backuprestore_backup_restore_request_builder.go @@ -0,0 +1,250 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreBackupRestoreRequestBuilder provides operations to manage the backupRestore property of the microsoft.graph.solutionsRoot entity. +type BackuprestoreBackupRestoreRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreBackupRestoreRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreBackupRestoreRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreBackupRestoreRequestBuilderGetQueryParameters get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. +type BackuprestoreBackupRestoreRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreBackupRestoreRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreBackupRestoreRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreBackupRestoreRequestBuilderGetQueryParameters +} +// BackuprestoreBackupRestoreRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreBackupRestoreRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreBackupRestoreRequestBuilderInternal instantiates a new BackuprestoreBackupRestoreRequestBuilder and sets the default values. +func NewBackuprestoreBackupRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreBackupRestoreRequestBuilder) { + m := &BackuprestoreBackupRestoreRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreBackupRestoreRequestBuilder instantiates a new BackuprestoreBackupRestoreRequestBuilder and sets the default values. +func NewBackuprestoreBackupRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreBackupRestoreRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreBackupRestoreRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property backupRestore for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreBackupRestoreRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// DriveInclusionRules provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) DriveInclusionRules()(*BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + return NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// DriveProtectionUnits provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) DriveProtectionUnits()(*BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Enable provides operations to call the enable method. +// returns a *BackuprestoreEnableRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) Enable()(*BackuprestoreEnableRequestBuilder) { + return NewBackuprestoreEnableRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ExchangeProtectionPolicies provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ExchangeProtectionPolicies()(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ExchangeRestoreSessions provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ExchangeRestoreSessions()(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. +// returns a BackupRestoreRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-get?view=graph-rest-beta +func (m *BackuprestoreBackupRestoreRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateBackupRestoreRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable), nil +} +// MailboxInclusionRules provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) MailboxInclusionRules()(*BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + return NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MailboxProtectionUnits provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) MailboxProtectionUnits()(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// OneDriveForBusinessProtectionPolicies provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) OneDriveForBusinessProtectionPolicies()(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// OneDriveForBusinessRestoreSessions provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) OneDriveForBusinessRestoreSessions()(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property backupRestore in solutions +// returns a BackupRestoreRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreBackupRestoreRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateBackupRestoreRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable), nil +} +// ProtectionPolicies provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ProtectionPolicies()(*BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) { + return NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ProtectionUnits provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ProtectionUnits()(*BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) { + return NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RestorePoints provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreRestorepointsRestorePointsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) RestorePoints()(*BackuprestoreRestorepointsRestorePointsRequestBuilder) { + return NewBackuprestoreRestorepointsRestorePointsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RestoreSessions provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) RestoreSessions()(*BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) { + return NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceApps provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreServiceappsServiceAppsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ServiceApps()(*BackuprestoreServiceappsServiceAppsRequestBuilder) { + return NewBackuprestoreServiceappsServiceAppsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SharePointProtectionPolicies provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) SharePointProtectionPolicies()(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SharePointRestoreSessions provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) SharePointRestoreSessions()(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SiteInclusionRules provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) SiteInclusionRules()(*BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + return NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SiteProtectionUnits provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) SiteProtectionUnits()(*BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property backupRestore for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property backupRestore in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BackupRestoreRootable, requestConfiguration *BackuprestoreBackupRestoreRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreBackupRestoreRequestBuilder when successful +func (m *BackuprestoreBackupRestoreRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreBackupRestoreRequestBuilder) { + return NewBackuprestoreBackupRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveinclusionrules_count_request_builder.go b/solutions/backuprestore_driveinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..42090c9d7b1 --- /dev/null +++ b/solutions/backuprestore_driveinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreDriveinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreDriveinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreDriveinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreDriveinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreDriveinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesCountRequestBuilder) { + m := &BackuprestoreDriveinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreDriveinclusionrulesCountRequestBuilder instantiates a new BackuprestoreDriveinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreDriveinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveinclusionrulesCountRequestBuilder) { + return NewBackuprestoreDriveinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveinclusionrules_drive_inclusion_rules_request_builder.go b/solutions/backuprestore_driveinclusionrules_drive_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..467585b2f34 --- /dev/null +++ b/solutions/backuprestore_driveinclusionrules_drive_inclusion_rules_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters the list of drive inclusion rules applied to the tenant. +type BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters +} +// BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDriveProtectionRuleId provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) ByDriveProtectionRuleId(driveProtectionRuleId string)(*BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if driveProtectionRuleId != "" { + urlTplParams["driveProtectionRule%2Did"] = driveProtectionRuleId + } + return NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + m := &BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder instantiates a new BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreDriveinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) Count()(*BackuprestoreDriveinclusionrulesCountRequestBuilder) { + return NewBackuprestoreDriveinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of drive inclusion rules applied to the tenant. +// returns a DriveProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleCollectionResponseable), nil +} +// Post create new navigation property to driveInclusionRules for solutions +// returns a DriveProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, requestConfiguration *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable), nil +} +// ToGetRequestInformation the list of drive inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to driveInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, requestConfiguration *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder when successful +func (m *BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + return NewBackuprestoreDriveinclusionrulesDriveInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveinclusionrules_drive_protection_rule_item_request_builder.go b/solutions/backuprestore_driveinclusionrules_drive_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..e7ffa99dcba --- /dev/null +++ b/solutions/backuprestore_driveinclusionrules_drive_protection_rule_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters the list of drive inclusion rules applied to the tenant. +type BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters +} +// BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + m := &BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveInclusionRules/{driveProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder instantiates a new BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property driveInclusionRules for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of drive inclusion rules applied to the tenant. +// returns a DriveProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable), nil +} +// Patch update the navigation property driveInclusionRules in solutions +// returns a DriveProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable), nil +} +// ToDeleteRequestInformation delete navigation property driveInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of drive inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property driveInclusionRules in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, requestConfiguration *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + return NewBackuprestoreDriveinclusionrulesDriveProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveprotectionunits_count_request_builder.go b/solutions/backuprestore_driveprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..bfc178743c6 --- /dev/null +++ b/solutions/backuprestore_driveprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreDriveprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreDriveprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreDriveprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreDriveprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreDriveprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsCountRequestBuilder) { + m := &BackuprestoreDriveprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreDriveprotectionunitsCountRequestBuilder instantiates a new BackuprestoreDriveprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreDriveprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveprotectionunitsCountRequestBuilder) { + return NewBackuprestoreDriveprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveprotectionunits_drive_protection_unit_item_request_builder.go b/solutions/backuprestore_driveprotectionunits_drive_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..f35a260dddb --- /dev/null +++ b/solutions/backuprestore_driveprotectionunits_drive_protection_unit_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters the list of drive protection units in the tenant. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + m := &BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveProtectionUnits/{driveProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder instantiates a new BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property driveProtectionUnits for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of drive protection units in the tenant. +// returns a DriveProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable), nil +} +// Patch update the navigation property driveProtectionUnits in solutions +// returns a DriveProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable), nil +} +// ToDeleteRequestInformation delete navigation property driveProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of drive protection units in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property driveProtectionUnits in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_driveprotectionunits_drive_protection_units_request_builder.go b/solutions/backuprestore_driveprotectionunits_drive_protection_units_request_builder.go new file mode 100644 index 00000000000..27f7deaff55 --- /dev/null +++ b/solutions/backuprestore_driveprotectionunits_drive_protection_units_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters +} +// BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDriveProtectionUnitId provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) ByDriveProtectionUnitId(driveProtectionUnitId string)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if driveProtectionUnitId != "" { + urlTplParams["driveProtectionUnit%2Did"] = driveProtectionUnitId + } + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + m := &BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/driveProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder instantiates a new BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreDriveprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) Count()(*BackuprestoreDriveprotectionunitsCountRequestBuilder) { + return NewBackuprestoreDriveprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +// returns a DriveProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitCollectionResponseable), nil +} +// Post create new navigation property to driveProtectionUnits for solutions +// returns a DriveProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable), nil +} +// ToGetRequestInformation get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to driveProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, requestConfiguration *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + return NewBackuprestoreDriveprotectionunitsDriveProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_enable_post_request_body.go b/solutions/backuprestore_enable_post_request_body.go new file mode 100644 index 00000000000..8e5179b751a --- /dev/null +++ b/solutions/backuprestore_enable_post_request_body.go @@ -0,0 +1,113 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type BackuprestoreEnablePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewBackuprestoreEnablePostRequestBody instantiates a new BackuprestoreEnablePostRequestBody and sets the default values. +func NewBackuprestoreEnablePostRequestBody()(*BackuprestoreEnablePostRequestBody) { + m := &BackuprestoreEnablePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateBackuprestoreEnablePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBackuprestoreEnablePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBackuprestoreEnablePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *BackuprestoreEnablePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAppOwnerTenantId gets the appOwnerTenantId property value. The appOwnerTenantId property +// returns a *string when successful +func (m *BackuprestoreEnablePostRequestBody) GetAppOwnerTenantId()(*string) { + val, err := m.GetBackingStore().Get("appOwnerTenantId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *BackuprestoreEnablePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BackuprestoreEnablePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["appOwnerTenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAppOwnerTenantId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *BackuprestoreEnablePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("appOwnerTenantId", m.GetAppOwnerTenantId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *BackuprestoreEnablePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAppOwnerTenantId sets the appOwnerTenantId property value. The appOwnerTenantId property +func (m *BackuprestoreEnablePostRequestBody) SetAppOwnerTenantId(value *string)() { + err := m.GetBackingStore().Set("appOwnerTenantId", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *BackuprestoreEnablePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +type BackuprestoreEnablePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppOwnerTenantId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + SetAppOwnerTenantId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() +} diff --git a/solutions/backuprestore_enable_request_builder.go b/solutions/backuprestore_enable_request_builder.go new file mode 100644 index 00000000000..994227e0a5a --- /dev/null +++ b/solutions/backuprestore_enable_request_builder.go @@ -0,0 +1,76 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreEnableRequestBuilder provides operations to call the enable method. +type BackuprestoreEnableRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreEnableRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreEnableRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreEnableRequestBuilderInternal instantiates a new BackuprestoreEnableRequestBuilder and sets the default values. +func NewBackuprestoreEnableRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreEnableRequestBuilder) { + m := &BackuprestoreEnableRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/enable", pathParameters), + } + return m +} +// NewBackuprestoreEnableRequestBuilder instantiates a new BackuprestoreEnableRequestBuilder and sets the default values. +func NewBackuprestoreEnableRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreEnableRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreEnableRequestBuilderInternal(urlParams, requestAdapter) +} +// Post enable the Microsoft 365 Backup Storage service for a tenant. +// returns a ServiceStatusable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-enable?view=graph-rest-beta +func (m *BackuprestoreEnableRequestBuilder) Post(ctx context.Context, body BackuprestoreEnablePostRequestBodyable, requestConfiguration *BackuprestoreEnableRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceStatusable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceStatusFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceStatusable), nil +} +// ToPostRequestInformation enable the Microsoft 365 Backup Storage service for a tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreEnableRequestBuilder) ToPostRequestInformation(ctx context.Context, body BackuprestoreEnablePostRequestBodyable, requestConfiguration *BackuprestoreEnableRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreEnableRequestBuilder when successful +func (m *BackuprestoreEnableRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreEnableRequestBuilder) { + return NewBackuprestoreEnableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_count_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_count_request_builder.go new file mode 100644 index 00000000000..cb3547742a3 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreExchangeprotectionpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policies_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policies_request_builder.go new file mode 100644 index 00000000000..1749dae5cf2 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policies_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetQueryParameters the list of Exchange protection policies in the tenant. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetQueryParameters +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByExchangeProtectionPolicyId provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) ByExchangeProtectionPolicyId(exchangeProtectionPolicyId string)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if exchangeProtectionPolicyId != "" { + urlTplParams["exchangeProtectionPolicy%2Did"] = exchangeProtectionPolicyId + } + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreExchangeprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) Count()(*BackuprestoreExchangeprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of Exchange protection policies in the tenant. +// returns a ExchangeProtectionPolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeProtectionPolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyCollectionResponseable), nil +} +// Post create a protection policy for the Exchange service in a Microsoft 365 tenant. The policy is set to inactive when it is created. Users can also provide a list of protection units under the policy. +// returns a ExchangeProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-post-exchangeprotectionpolicies?view=graph-rest-beta +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable), nil +} +// ToGetRequestInformation the list of Exchange protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a protection policy for the Exchange service in a Microsoft 365 tenant. The policy is set to inactive when it is created. Users can also provide a list of protection units under the policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policy_item_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policy_item_request_builder.go new file mode 100644 index 00000000000..ff5f321a521 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_exchange_protection_policy_item_request_builder.go @@ -0,0 +1,170 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetQueryParameters the list of Exchange protection policies in the tenant. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetQueryParameters +} +// BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property exchangeProtectionPolicies for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of Exchange protection policies in the tenant. +// returns a ExchangeProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable), nil +} +// MailboxInclusionRules provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) MailboxInclusionRules()(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MailboxProtectionUnits provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) MailboxProtectionUnits()(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update an Exchange protection policy. This method adds a mailboxprotectionunit to or removes it from the protection policy. +// returns a ExchangeProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-update?view=graph-rest-beta +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable), nil +} +// ToDeleteRequestInformation delete navigation property exchangeProtectionPolicies for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of Exchange protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update an Exchange protection policy. This method adds a mailboxprotectionunit to or removes it from the protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeProtectionPolicyable, requestConfiguration *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesExchangeProtectionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_count_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..7fb5df0aae0 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..4136f25d448 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go @@ -0,0 +1,113 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters +} +// ByMailboxProtectionRuleId provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) ByMailboxProtectionRuleId(mailboxProtectionRuleId string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailboxProtectionRuleId != "" { + urlTplParams["mailboxProtectionRule%2Did"] = mailboxProtectionRuleId + } + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) Count()(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a MailboxProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxinclusionrules?view=graph-rest-beta +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleCollectionResponseable), nil +} +// ToGetRequestInformation get a list of mailboxProtectionRule objects associated with an exchangeProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..f9e25f18693 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go @@ -0,0 +1,84 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder provides operations to manage the mailboxInclusionRules property of the microsoft.graph.exchangeProtectionPolicy entity. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxInclusionRules/{mailboxProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a MailboxProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable), nil +} +// ToGetRequestInformation get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_count_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..c1f9ca403ac --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..0423fd0167e --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters the protection units (mailboxes) that are protected under the Exchange protection policy. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxProtectionUnits/{mailboxProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the protection units (mailboxes) that are protected under the Exchange protection policy. +// returns a MailboxProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable), nil +} +// ToGetRequestInformation the protection units (mailboxes) that are protected under the Exchange protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_units_request_builder.go b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_units_request_builder.go new file mode 100644 index 00000000000..e7a1a77cf53 --- /dev/null +++ b/solutions/backuprestore_exchangeprotectionpolicies_item_mailboxprotectionunits_mailbox_protection_units_request_builder.go @@ -0,0 +1,110 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters the protection units (mailboxes) that are protected under the Exchange protection policy. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters +} +// ByMailboxProtectionUnitId provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.exchangeProtectionPolicy entity. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) ByMailboxProtectionUnitId(mailboxProtectionUnitId string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailboxProtectionUnitId != "" { + urlTplParams["mailboxProtectionUnit%2Did"] = mailboxProtectionUnitId + } + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + m := &BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicy%2Did}/mailboxProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder instantiates a new BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) Count()(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the protection units (mailboxes) that are protected under the Exchange protection policy. +// returns a MailboxProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitCollectionResponseable), nil +} +// ToGetRequestInformation the protection units (mailboxes) that are protected under the Exchange protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + return NewBackuprestoreExchangeprotectionpoliciesItemMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_count_request_builder.go b/solutions/backuprestore_exchangerestoresessions_count_request_builder.go new file mode 100644 index 00000000000..773bd6b8d1b --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreExchangerestoresessionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreExchangerestoresessionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreExchangerestoresessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangerestoresessionsCountRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsCountRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsCountRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsCountRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_exchange_restore_session_item_request_builder.go b/solutions/backuprestore_exchangerestoresessions_exchange_restore_session_item_request_builder.go new file mode 100644 index 00000000000..908f76e1364 --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_exchange_restore_session_item_request_builder.go @@ -0,0 +1,165 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetQueryParameters the list of Exchange restore sessions available in the tenant. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetQueryParameters +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property exchangeRestoreSessions for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of Exchange restore sessions available in the tenant. +// returns a ExchangeRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable), nil +} +// MailboxRestoreArtifacts provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) MailboxRestoreArtifacts()(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the properties of an exchangeRestoreSession. +// returns a ExchangeRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/exchangerestoresession-update?view=graph-rest-beta +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable), nil +} +// ToDeleteRequestInformation delete navigation property exchangeRestoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of Exchange restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of an exchangeRestoreSession. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_exchange_restore_sessions_request_builder.go b/solutions/backuprestore_exchangerestoresessions_exchange_restore_sessions_request_builder.go new file mode 100644 index 00000000000..220dfb33046 --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_exchange_restore_sessions_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetQueryParameters the list of Exchange restore sessions available in the tenant. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetQueryParameters +} +// BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByExchangeRestoreSessionId provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) ByExchangeRestoreSessionId(exchangeRestoreSessionId string)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if exchangeRestoreSessionId != "" { + urlTplParams["exchangeRestoreSession%2Did"] = exchangeRestoreSessionId + } + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreExchangerestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) Count()(*BackuprestoreExchangerestoresessionsCountRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of Exchange restore sessions available in the tenant. +// returns a ExchangeRestoreSessionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeRestoreSessionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionCollectionResponseable), nil +} +// Post create new navigation property to exchangeRestoreSessions for solutions +// returns a ExchangeRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable), nil +} +// ToGetRequestInformation the list of Exchange restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to exchangeRestoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeRestoreSessionable, requestConfiguration *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsExchangeRestoreSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_count_request_builder.go b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_count_request_builder.go new file mode 100644 index 00000000000..20eb451400c --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifacts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_item_restorepoint_restore_point_request_builder.go b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_item_restorepoint_restore_point_request_builder.go new file mode 100644 index 00000000000..bf52f2da8fd --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_item_restorepoint_restore_point_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifacts/{mailboxRestoreArtifact%2Did}/restorePoint{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(urlParams, requestAdapter) +} +// Get represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// ToGetRequestInformation represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifact_item_request_builder.go b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifact_item_request_builder.go new file mode 100644 index 00000000000..8e8a7427219 --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifact_item_request_builder.go @@ -0,0 +1,162 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore Exchange mailboxes. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetQueryParameters +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifacts/{mailboxRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property mailboxRestoreArtifacts for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of restore points and destination details that can be used to restore Exchange mailboxes. +// returns a MailboxRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable), nil +} +// Patch update the navigation property mailboxRestoreArtifacts in solutions +// returns a MailboxRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable), nil +} +// RestorePoint provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) RestorePoint()(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property mailboxRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of restore points and destination details that can be used to restore Exchange mailboxes. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property mailboxRestoreArtifacts in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifacts_request_builder.go b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifacts_request_builder.go new file mode 100644 index 00000000000..0bc03d0b0bd --- /dev/null +++ b/solutions/backuprestore_exchangerestoresessions_item_mailboxrestoreartifacts_mailbox_restore_artifacts_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetQueryParameters get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetQueryParameters +} +// BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByMailboxRestoreArtifactId provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) ByMailboxRestoreArtifactId(mailboxRestoreArtifactId string)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailboxRestoreArtifactId != "" { + urlTplParams["mailboxRestoreArtifact%2Did"] = mailboxRestoreArtifactId + } + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderInternal instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) { + m := &BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/exchangeRestoreSessions/{exchangeRestoreSession%2Did}/mailboxRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder instantiates a new BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) Count()(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. +// returns a MailboxRestoreArtifactCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/exchangerestoresession-list-mailboxrestoreartifacts?view=graph-rest-beta +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxRestoreArtifactCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactCollectionResponseable), nil +} +// Post create new navigation property to mailboxRestoreArtifacts for solutions +// returns a MailboxRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable), nil +} +// ToGetRequestInformation get a list of the mailboxRestoreArtifact objects that are associated with an exchangeRestoreSession in a tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to mailboxRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactable, requestConfiguration *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder) { + return NewBackuprestoreExchangerestoresessionsItemMailboxrestoreartifactsMailboxRestoreArtifactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxinclusionrules_count_request_builder.go b/solutions/backuprestore_mailboxinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..6104ee3155e --- /dev/null +++ b/solutions/backuprestore_mailboxinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreMailboxinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreMailboxinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreMailboxinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreMailboxinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesCountRequestBuilder) { + m := &BackuprestoreMailboxinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxinclusionrulesCountRequestBuilder instantiates a new BackuprestoreMailboxinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreMailboxinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxinclusionrulesCountRequestBuilder) { + return NewBackuprestoreMailboxinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go b/solutions/backuprestore_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..fe620528b1a --- /dev/null +++ b/solutions/backuprestore_mailboxinclusionrules_mailbox_inclusion_rules_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters the list of mailbox inclusion rules applied to the tenant. +type BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetQueryParameters +} +// BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByMailboxProtectionRuleId provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) ByMailboxProtectionRuleId(mailboxProtectionRuleId string)(*BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailboxProtectionRuleId != "" { + urlTplParams["mailboxProtectionRule%2Did"] = mailboxProtectionRuleId + } + return NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + m := &BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder instantiates a new BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreMailboxinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) Count()(*BackuprestoreMailboxinclusionrulesCountRequestBuilder) { + return NewBackuprestoreMailboxinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of mailbox inclusion rules applied to the tenant. +// returns a MailboxProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleCollectionResponseable), nil +} +// Post create new navigation property to mailboxInclusionRules for solutions +// returns a MailboxProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable), nil +} +// ToGetRequestInformation the list of mailbox inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to mailboxInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder) { + return NewBackuprestoreMailboxinclusionrulesMailboxInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go b/solutions/backuprestore_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..efc0e857ab8 --- /dev/null +++ b/solutions/backuprestore_mailboxinclusionrules_mailbox_protection_rule_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters the list of mailbox inclusion rules applied to the tenant. +type BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetQueryParameters +} +// BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + m := &BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxInclusionRules/{mailboxProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder instantiates a new BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property mailboxInclusionRules for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of mailbox inclusion rules applied to the tenant. +// returns a MailboxProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable), nil +} +// Patch update the navigation property mailboxInclusionRules in solutions +// returns a MailboxProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable), nil +} +// ToDeleteRequestInformation delete navigation property mailboxInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of mailbox inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property mailboxInclusionRules in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionRuleable, requestConfiguration *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder) { + return NewBackuprestoreMailboxinclusionrulesMailboxProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxprotectionunits_count_request_builder.go b/solutions/backuprestore_mailboxprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..36c542080a5 --- /dev/null +++ b/solutions/backuprestore_mailboxprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreMailboxprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreMailboxprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreMailboxprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreMailboxprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsCountRequestBuilder) { + m := &BackuprestoreMailboxprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxprotectionunitsCountRequestBuilder instantiates a new BackuprestoreMailboxprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreMailboxprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxprotectionunitsCountRequestBuilder) { + return NewBackuprestoreMailboxprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go b/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..7218181c0aa --- /dev/null +++ b/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_unit_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters the list of mailbox protection units in the tenant. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetQueryParameters +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + m := &BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxProtectionUnits/{mailboxProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder instantiates a new BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property mailboxProtectionUnits for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of mailbox protection units in the tenant. +// returns a MailboxProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable), nil +} +// Patch update the navigation property mailboxProtectionUnits in solutions +// returns a MailboxProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable), nil +} +// ToDeleteRequestInformation delete navigation property mailboxProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of mailbox protection units in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property mailboxProtectionUnits in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_units_request_builder.go b/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_units_request_builder.go new file mode 100644 index 00000000000..d8966dd116a --- /dev/null +++ b/solutions/backuprestore_mailboxprotectionunits_mailbox_protection_units_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters get a list of mailboxProtectionUnit objects. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetQueryParameters +} +// BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByMailboxProtectionUnitId provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) ByMailboxProtectionUnitId(mailboxProtectionUnitId string)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailboxProtectionUnitId != "" { + urlTplParams["mailboxProtectionUnit%2Did"] = mailboxProtectionUnitId + } + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + m := &BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/mailboxProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder instantiates a new BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreMailboxprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) Count()(*BackuprestoreMailboxprotectionunitsCountRequestBuilder) { + return NewBackuprestoreMailboxprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of mailboxProtectionUnit objects. +// returns a MailboxProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-beta +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitCollectionResponseable), nil +} +// Post create new navigation property to mailboxProtectionUnits for solutions +// returns a MailboxProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable), nil +} +// ToGetRequestInformation get a list of mailboxProtectionUnit objects. +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to mailboxProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxProtectionUnitable, requestConfiguration *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder) { + return NewBackuprestoreMailboxprotectionunitsMailboxProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_count_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_count_request_builder.go new file mode 100644 index 00000000000..b59fb921b44 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_count_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..0877b2ae2f0 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_inclusion_rules_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..80e02def532 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_inclusion_rules_request_builder.go @@ -0,0 +1,113 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetQueryParameters +} +// ByDriveProtectionRuleId provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) ByDriveProtectionRuleId(driveProtectionRuleId string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if driveProtectionRuleId != "" { + urlTplParams["driveProtectionRule%2Did"] = driveProtectionRuleId + } + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) Count()(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a DriveProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveinclusionrules?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleCollectionResponseable), nil +} +// ToGetRequestInformation get a list of the driveProtectionRule objects that are associated with a OneDrive for Business protection policy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_protection_rule_item_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..6eafb19699f --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveinclusionrules_drive_protection_rule_item_request_builder.go @@ -0,0 +1,84 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveInclusionRules/{driveProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a DriveProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionRuleable), nil +} +// ToGetRequestInformation get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_count_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..fc9910ab881 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_unit_item_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..2fefe123941 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_unit_item_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters contains the protection units associated with a OneDrive for Business protection policy. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveProtectionUnits/{driveProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get contains the protection units associated with a OneDrive for Business protection policy. +// returns a DriveProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable), nil +} +// ToGetRequestInformation contains the protection units associated with a OneDrive for Business protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_units_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_units_request_builder.go new file mode 100644 index 00000000000..8b6153f815c --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_item_driveprotectionunits_drive_protection_units_request_builder.go @@ -0,0 +1,113 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetQueryParameters +} +// ByDriveProtectionUnitId provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) ByDriveProtectionUnitId(driveProtectionUnitId string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if driveProtectionUnitId != "" { + urlTplParams["driveProtectionUnit%2Did"] = driveProtectionUnitId + } + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}/driveProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) Count()(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +// returns a DriveProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitCollectionResponseable), nil +} +// ToGetRequestInformation get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policies_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policies_request_builder.go new file mode 100644 index 00000000000..b9438e52b79 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policies_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetQueryParameters the list of OneDrive for Business protection policies in the tenant. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByOneDriveForBusinessProtectionPolicyId provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) ByOneDriveForBusinessProtectionPolicyId(oneDriveForBusinessProtectionPolicyId string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if oneDriveForBusinessProtectionPolicyId != "" { + urlTplParams["oneDriveForBusinessProtectionPolicy%2Did"] = oneDriveForBusinessProtectionPolicyId + } + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) Count()(*BackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of OneDrive for Business protection policies in the tenant. +// returns a OneDriveForBusinessProtectionPolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessProtectionPolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyCollectionResponseable), nil +} +// Post create a protection policy for the OneDrive service in Microsoft 365. When the policy is created, its state is set to inactive. Users can also provide a list of protection units under the policy. +// returns a OneDriveForBusinessProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-post-onedriveforbusinessprotectionpolicies?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable), nil +} +// ToGetRequestInformation the list of OneDrive for Business protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a protection policy for the OneDrive service in Microsoft 365. When the policy is created, its state is set to inactive. Users can also provide a list of protection units under the policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policy_item_request_builder.go b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policy_item_request_builder.go new file mode 100644 index 00000000000..88744a006df --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessprotectionpolicies_one_drive_for_business_protection_policy_item_request_builder.go @@ -0,0 +1,170 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetQueryParameters the list of OneDrive for Business protection policies in the tenant. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property oneDriveForBusinessProtectionPolicies for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// DriveInclusionRules provides operations to manage the driveInclusionRules property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) DriveInclusionRules()(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveinclusionrulesDriveInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// DriveProtectionUnits provides operations to manage the driveProtectionUnits property of the microsoft.graph.oneDriveForBusinessProtectionPolicy entity. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) DriveProtectionUnits()(*BackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesItemDriveprotectionunitsDriveProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of OneDrive for Business protection policies in the tenant. +// returns a OneDriveForBusinessProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable), nil +} +// Patch update the protection policy for the OneDrive service in Microsoft 365. This method adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. +// returns a OneDriveForBusinessProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-update?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable), nil +} +// ToDeleteRequestInformation delete navigation property oneDriveForBusinessProtectionPolicies for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of OneDrive for Business protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the protection policy for the OneDrive service in Microsoft 365. This method adds a driveProtectionUnit to or removes it from a oneDriveForBusinessProtectionPolicy object. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessProtectionPolicyable, requestConfiguration *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessprotectionpoliciesOneDriveForBusinessProtectionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_count_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_count_request_builder.go new file mode 100644 index 00000000000..49944a57fa6 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_count_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_count_request_builder.go new file mode 100644 index 00000000000..88ed326d4d3 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifacts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifact_item_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifact_item_request_builder.go new file mode 100644 index 00000000000..b86b1fce338 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifact_item_request_builder.go @@ -0,0 +1,162 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifacts/{driveRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property driveRestoreArtifacts for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// returns a DriveRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable), nil +} +// Patch update the navigation property driveRestoreArtifacts in solutions +// returns a DriveRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable), nil +} +// RestorePoint provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) RestorePoint()(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property driveRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property driveRestoreArtifacts in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifacts_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifacts_request_builder.go new file mode 100644 index 00000000000..4239e95eb80 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_drive_restore_artifacts_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetQueryParameters get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDriveRestoreArtifactId provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) ByDriveRestoreArtifactId(driveRestoreArtifactId string)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if driveRestoreArtifactId != "" { + urlTplParams["driveRestoreArtifact%2Did"] = driveRestoreArtifactId + } + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) Count()(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. +// returns a DriveRestoreArtifactCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-driverestoreartifacts?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRestoreArtifactCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactCollectionResponseable), nil +} +// Post create new navigation property to driveRestoreArtifacts for solutions +// returns a DriveRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable), nil +} +// ToGetRequestInformation get a list of the driveRestoreArtifact objects and their properties for a oneDriveForBusinessRestoreSession for a tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to driveRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_item_restorepoint_restore_point_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_item_restorepoint_restore_point_request_builder.go new file mode 100644 index 00000000000..39ebcf52ad1 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_item_driverestoreartifacts_item_restorepoint_restore_point_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/driveRestoreArtifacts/{driveRestoreArtifact%2Did}/restorePoint{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(urlParams, requestAdapter) +} +// Get represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// ToGetRequestInformation represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_session_item_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_session_item_request_builder.go new file mode 100644 index 00000000000..f3fefe9bfd2 --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_session_item_request_builder.go @@ -0,0 +1,165 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters the list of OneDrive for Business restore sessions available in the tenant. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property oneDriveForBusinessRestoreSessions for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// DriveRestoreArtifacts provides operations to manage the driveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) DriveRestoreArtifacts()(*BackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsItemDriverestoreartifactsDriveRestoreArtifactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of OneDrive for Business restore sessions available in the tenant. +// returns a OneDriveForBusinessRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable), nil +} +// Patch update the properties of a oneDriveForBusinessRestoreSession object. +// returns a OneDriveForBusinessRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-update?view=graph-rest-beta +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable), nil +} +// ToDeleteRequestInformation delete navigation property oneDriveForBusinessRestoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of OneDrive for Business restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a oneDriveForBusinessRestoreSession object. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_sessions_request_builder.go b/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_sessions_request_builder.go new file mode 100644 index 00000000000..253e677927b --- /dev/null +++ b/solutions/backuprestore_onedriveforbusinessrestoresessions_one_drive_for_business_restore_sessions_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetQueryParameters the list of OneDrive for Business restore sessions available in the tenant. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetQueryParameters +} +// BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByOneDriveForBusinessRestoreSessionId provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) ByOneDriveForBusinessRestoreSessionId(oneDriveForBusinessRestoreSessionId string)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if oneDriveForBusinessRestoreSessionId != "" { + urlTplParams["oneDriveForBusinessRestoreSession%2Did"] = oneDriveForBusinessRestoreSessionId + } + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderInternal instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) { + m := &BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder instantiates a new BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) Count()(*BackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of OneDrive for Business restore sessions available in the tenant. +// returns a OneDriveForBusinessRestoreSessionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessRestoreSessionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionCollectionResponseable), nil +} +// Post create new navigation property to oneDriveForBusinessRestoreSessions for solutions +// returns a OneDriveForBusinessRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable), nil +} +// ToGetRequestInformation the list of OneDrive for Business restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to oneDriveForBusinessRestoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessRestoreSessionable, requestConfiguration *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder) { + return NewBackuprestoreOnedriveforbusinessrestoresessionsOneDriveForBusinessRestoreSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionpolicies_count_request_builder.go b/solutions/backuprestore_protectionpolicies_count_request_builder.go new file mode 100644 index 00000000000..4a77dfcf5fc --- /dev/null +++ b/solutions/backuprestore_protectionpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreProtectionpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreProtectionpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreProtectionpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionpoliciesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreProtectionpoliciesCountRequestBuilderInternal instantiates a new BackuprestoreProtectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesCountRequestBuilder) { + m := &BackuprestoreProtectionpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionpoliciesCountRequestBuilder instantiates a new BackuprestoreProtectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionpoliciesCountRequestBuilder) { + return NewBackuprestoreProtectionpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionpolicies_item_activate_request_builder.go b/solutions/backuprestore_protectionpolicies_item_activate_request_builder.go new file mode 100644 index 00000000000..6019ad29d76 --- /dev/null +++ b/solutions/backuprestore_protectionpolicies_item_activate_request_builder.go @@ -0,0 +1,72 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionpoliciesItemActivateRequestBuilder provides operations to call the activate method. +type BackuprestoreProtectionpoliciesItemActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionpoliciesItemActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesItemActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreProtectionpoliciesItemActivateRequestBuilderInternal instantiates a new BackuprestoreProtectionpoliciesItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesItemActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesItemActivateRequestBuilder) { + m := &BackuprestoreProtectionpoliciesItemActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionPolicies/{protectionPolicyBase%2Did}/activate", pathParameters), + } + return m +} +// NewBackuprestoreProtectionpoliciesItemActivateRequestBuilder instantiates a new BackuprestoreProtectionpoliciesItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesItemActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesItemActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionpoliciesItemActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post activate a protectionPolicyBase. +// returns a ProtectionPolicyBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionpolicybase-activate?view=graph-rest-beta +func (m *BackuprestoreProtectionpoliciesItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable), nil +} +// ToPostRequestInformation activate a protectionPolicyBase. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesItemActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesItemActivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionpoliciesItemActivateRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesItemActivateRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionpoliciesItemActivateRequestBuilder) { + return NewBackuprestoreProtectionpoliciesItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionpolicies_item_deactivate_request_builder.go b/solutions/backuprestore_protectionpolicies_item_deactivate_request_builder.go new file mode 100644 index 00000000000..1a2c9313116 --- /dev/null +++ b/solutions/backuprestore_protectionpolicies_item_deactivate_request_builder.go @@ -0,0 +1,72 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder provides operations to call the deactivate method. +type BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionpoliciesItemDeactivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesItemDeactivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilderInternal instantiates a new BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) { + m := &BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionPolicies/{protectionPolicyBase%2Did}/deactivate", pathParameters), + } + return m +} +// NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilder instantiates a new BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post deactivate a protectionPolicyBase. +// returns a ProtectionPolicyBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionpolicybase-deactivate?view=graph-rest-beta +func (m *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable), nil +} +// ToPostRequestInformation deactivate a protectionPolicyBase. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) { + return NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionpolicies_protection_policies_request_builder.go b/solutions/backuprestore_protectionpolicies_protection_policies_request_builder.go new file mode 100644 index 00000000000..7e01056a21e --- /dev/null +++ b/solutions/backuprestore_protectionpolicies_protection_policies_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetQueryParameters list of protection policies in the tenant. +type BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetQueryParameters +} +// BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByProtectionPolicyBaseId provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) ByProtectionPolicyBaseId(protectionPolicyBaseId string)(*BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if protectionPolicyBaseId != "" { + urlTplParams["protectionPolicyBase%2Did"] = protectionPolicyBaseId + } + return NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderInternal instantiates a new BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) { + m := &BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder instantiates a new BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreProtectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) Count()(*BackuprestoreProtectionpoliciesCountRequestBuilder) { + return NewBackuprestoreProtectionpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list of protection policies in the tenant. +// returns a ProtectionPolicyBaseCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseCollectionResponseable), nil +} +// Post create new navigation property to protectionPolicies for solutions +// returns a ProtectionPolicyBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable), nil +} +// ToGetRequestInformation list of protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to protectionPolicies for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder) { + return NewBackuprestoreProtectionpoliciesProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionpolicies_protection_policy_base_item_request_builder.go b/solutions/backuprestore_protectionpolicies_protection_policy_base_item_request_builder.go new file mode 100644 index 00000000000..7134db394e2 --- /dev/null +++ b/solutions/backuprestore_protectionpolicies_protection_policy_base_item_request_builder.go @@ -0,0 +1,170 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetQueryParameters list of protection policies in the tenant. +type BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetQueryParameters +} +// BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Activate provides operations to call the activate method. +// returns a *BackuprestoreProtectionpoliciesItemActivateRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) Activate()(*BackuprestoreProtectionpoliciesItemActivateRequestBuilder) { + return NewBackuprestoreProtectionpoliciesItemActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderInternal instantiates a new BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) { + m := &BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionPolicies/{protectionPolicyBase%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder instantiates a new BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Deactivate provides operations to call the deactivate method. +// returns a *BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) Deactivate()(*BackuprestoreProtectionpoliciesItemDeactivateRequestBuilder) { + return NewBackuprestoreProtectionpoliciesItemDeactivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete a protection policy. Read the properties and relationships of a protectionPolicyBase object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionpolicybase-delete?view=graph-rest-beta +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of protection policies in the tenant. +// returns a ProtectionPolicyBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable), nil +} +// Patch update the navigation property protectionPolicies in solutions +// returns a ProtectionPolicyBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionPolicyBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable), nil +} +// ToDeleteRequestInformation delete a protection policy. Read the properties and relationships of a protectionPolicyBase object. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property protectionPolicies in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionPolicyBaseable, requestConfiguration *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder when successful +func (m *BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder) { + return NewBackuprestoreProtectionpoliciesProtectionPolicyBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionunits_count_request_builder.go b/solutions/backuprestore_protectionunits_count_request_builder.go new file mode 100644 index 00000000000..5cb64cfe8ff --- /dev/null +++ b/solutions/backuprestore_protectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreProtectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreProtectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreProtectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreProtectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreProtectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsCountRequestBuilder) { + m := &BackuprestoreProtectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionunitsCountRequestBuilder instantiates a new BackuprestoreProtectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionunitsCountRequestBuilder when successful +func (m *BackuprestoreProtectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionunitsCountRequestBuilder) { + return NewBackuprestoreProtectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionunits_protection_unit_base_item_request_builder.go b/solutions/backuprestore_protectionunits_protection_unit_base_item_request_builder.go new file mode 100644 index 00000000000..c5301c72655 --- /dev/null +++ b/solutions/backuprestore_protectionunits_protection_unit_base_item_request_builder.go @@ -0,0 +1,84 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetQueryParameters read the properties and relationships of a protectionUnitBase object. +type BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderInternal instantiates a new BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) { + m := &BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder instantiates a new BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get read the properties and relationships of a protectionUnitBase object. +// returns a ProtectionUnitBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionunitbase-get?view=graph-rest-beta +func (m *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionUnitBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseable), nil +} +// ToGetRequestInformation read the properties and relationships of a protectionUnitBase object. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder when successful +func (m *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) { + return NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_protectionunits_protection_units_request_builder.go b/solutions/backuprestore_protectionunits_protection_units_request_builder.go new file mode 100644 index 00000000000..5b6b2a771f2 --- /dev/null +++ b/solutions/backuprestore_protectionunits_protection_units_request_builder.go @@ -0,0 +1,110 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreProtectionunitsProtectionUnitsRequestBuilder provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreProtectionunitsProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetQueryParameters read the properties and relationships of a protectionUnitBase object. +type BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetQueryParameters +} +// ByProtectionUnitBaseId provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder when successful +func (m *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) ByProtectionUnitBaseId(protectionUnitBaseId string)(*BackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if protectionUnitBaseId != "" { + urlTplParams["protectionUnitBase%2Did"] = protectionUnitBaseId + } + return NewBackuprestoreProtectionunitsProtectionUnitBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreProtectionunitsProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) { + m := &BackuprestoreProtectionunitsProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilder instantiates a new BackuprestoreProtectionunitsProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreProtectionunitsCountRequestBuilder when successful +func (m *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) Count()(*BackuprestoreProtectionunitsCountRequestBuilder) { + return NewBackuprestoreProtectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get read the properties and relationships of a protectionUnitBase object. +// returns a ProtectionUnitBaseCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionUnitBaseCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseCollectionResponseable), nil +} +// ToGetRequestInformation read the properties and relationships of a protectionUnitBase object. +// returns a *RequestInformation when successful +func (m *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreProtectionunitsProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreProtectionunitsProtectionUnitsRequestBuilder) { + return NewBackuprestoreProtectionunitsProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restorepoints_count_request_builder.go b/solutions/backuprestore_restorepoints_count_request_builder.go new file mode 100644 index 00000000000..3398383d933 --- /dev/null +++ b/solutions/backuprestore_restorepoints_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestorepointsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreRestorepointsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestorepointsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreRestorepointsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreRestorepointsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestorepointsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreRestorepointsCountRequestBuilderInternal instantiates a new BackuprestoreRestorepointsCountRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsCountRequestBuilder) { + m := &BackuprestoreRestorepointsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restorePoints/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreRestorepointsCountRequestBuilder instantiates a new BackuprestoreRestorepointsCountRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestorepointsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestorepointsCountRequestBuilder when successful +func (m *BackuprestoreRestorepointsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestorepointsCountRequestBuilder) { + return NewBackuprestoreRestorepointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restorepoints_item_protectionunit_protection_unit_request_builder.go b/solutions/backuprestore_restorepoints_item_protectionunit_protection_unit_request_builder.go new file mode 100644 index 00000000000..f24f89755cc --- /dev/null +++ b/solutions/backuprestore_restorepoints_item_protectionunit_protection_unit_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder provides operations to manage the protectionUnit property of the microsoft.graph.restorePoint entity. +type BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetQueryParameters the site, drive, or mailbox units that are protected under a protection policy. +type BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetQueryParameters +} +// NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderInternal instantiates a new BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) { + m := &BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restorePoints/{restorePoint%2Did}/protectionUnit{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder instantiates a new BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the site, drive, or mailbox units that are protected under a protection policy. +// returns a ProtectionUnitBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProtectionUnitBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseable), nil +} +// ToGetRequestInformation the site, drive, or mailbox units that are protected under a protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder when successful +func (m *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) { + return NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restorepoints_restore_point_item_request_builder.go b/solutions/backuprestore_restorepoints_restore_point_item_request_builder.go new file mode 100644 index 00000000000..a649bb42970 --- /dev/null +++ b/solutions/backuprestore_restorepoints_restore_point_item_request_builder.go @@ -0,0 +1,162 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestorepointsRestorePointItemRequestBuilder provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreRestorepointsRestorePointItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestorepointsRestorePointItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsRestorePointItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreRestorepointsRestorePointItemRequestBuilderGetQueryParameters list of restore points in the tenant. +type BackuprestoreRestorepointsRestorePointItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreRestorepointsRestorePointItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsRestorePointItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestorepointsRestorePointItemRequestBuilderGetQueryParameters +} +// BackuprestoreRestorepointsRestorePointItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsRestorePointItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreRestorepointsRestorePointItemRequestBuilderInternal instantiates a new BackuprestoreRestorepointsRestorePointItemRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsRestorePointItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsRestorePointItemRequestBuilder) { + m := &BackuprestoreRestorepointsRestorePointItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restorePoints/{restorePoint%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreRestorepointsRestorePointItemRequestBuilder instantiates a new BackuprestoreRestorepointsRestorePointItemRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsRestorePointItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsRestorePointItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestorepointsRestorePointItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property restorePoints for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of restore points in the tenant. +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// Patch update the navigation property restorePoints in solutions +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// ProtectionUnit provides operations to manage the protectionUnit property of the microsoft.graph.restorePoint entity. +// returns a *BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) ProtectionUnit()(*BackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilder) { + return NewBackuprestoreRestorepointsItemProtectionunitProtectionUnitRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property restorePoints for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of restore points in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property restorePoints in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, requestConfiguration *BackuprestoreRestorepointsRestorePointItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestorepointsRestorePointItemRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestorepointsRestorePointItemRequestBuilder) { + return NewBackuprestoreRestorepointsRestorePointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restorepoints_restore_points_request_builder.go b/solutions/backuprestore_restorepoints_restore_points_request_builder.go new file mode 100644 index 00000000000..033f073926c --- /dev/null +++ b/solutions/backuprestore_restorepoints_restore_points_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestorepointsRestorePointsRequestBuilder provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreRestorepointsRestorePointsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestorepointsRestorePointsRequestBuilderGetQueryParameters list of restore points in the tenant. +type BackuprestoreRestorepointsRestorePointsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreRestorepointsRestorePointsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsRestorePointsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestorepointsRestorePointsRequestBuilderGetQueryParameters +} +// BackuprestoreRestorepointsRestorePointsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsRestorePointsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByRestorePointId provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreRestorepointsRestorePointItemRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) ByRestorePointId(restorePointId string)(*BackuprestoreRestorepointsRestorePointItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if restorePointId != "" { + urlTplParams["restorePoint%2Did"] = restorePointId + } + return NewBackuprestoreRestorepointsRestorePointItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreRestorepointsRestorePointsRequestBuilderInternal instantiates a new BackuprestoreRestorepointsRestorePointsRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsRestorePointsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsRestorePointsRequestBuilder) { + m := &BackuprestoreRestorepointsRestorePointsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restorePoints{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreRestorepointsRestorePointsRequestBuilder instantiates a new BackuprestoreRestorepointsRestorePointsRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsRestorePointsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsRestorePointsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestorepointsRestorePointsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreRestorepointsCountRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) Count()(*BackuprestoreRestorepointsCountRequestBuilder) { + return NewBackuprestoreRestorepointsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list of restore points in the tenant. +// returns a RestorePointCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointCollectionResponseable), nil +} +// Post create new navigation property to restorePoints for solutions +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, requestConfiguration *BackuprestoreRestorepointsRestorePointsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// Search provides operations to call the search method. +// returns a *BackuprestoreRestorepointsSearchRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) Search()(*BackuprestoreRestorepointsSearchRequestBuilder) { + return NewBackuprestoreRestorepointsSearchRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation list of restore points in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestorepointsRestorePointsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to restorePoints for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, requestConfiguration *BackuprestoreRestorepointsRestorePointsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestorepointsRestorePointsRequestBuilder when successful +func (m *BackuprestoreRestorepointsRestorePointsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestorepointsRestorePointsRequestBuilder) { + return NewBackuprestoreRestorepointsRestorePointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restorepoints_search_post_request_body.go b/solutions/backuprestore_restorepoints_search_post_request_body.go new file mode 100644 index 00000000000..46c86b8d64d --- /dev/null +++ b/solutions/backuprestore_restorepoints_search_post_request_body.go @@ -0,0 +1,233 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type BackuprestoreRestorepointsSearchPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewBackuprestoreRestorepointsSearchPostRequestBody instantiates a new BackuprestoreRestorepointsSearchPostRequestBody and sets the default values. +func NewBackuprestoreRestorepointsSearchPostRequestBody()(*BackuprestoreRestorepointsSearchPostRequestBody) { + m := &BackuprestoreRestorepointsSearchPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateBackuprestoreRestorepointsSearchPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBackuprestoreRestorepointsSearchPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBackuprestoreRestorepointsSearchPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["protectionTimePeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateTimePeriodFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectionTimePeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable)) + } + return nil + } + res["protectionUnitIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetProtectionUnitIds(res) + } + return nil + } + res["restorePointPreference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseRestorePointPreference) + if err != nil { + return err + } + if val != nil { + m.SetRestorePointPreference(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference)) + } + return nil + } + res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseRestorePointTags) + if err != nil { + return err + } + if val != nil { + m.SetTags(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags)) + } + return nil + } + return res +} +// GetProtectionTimePeriod gets the protectionTimePeriod property value. The protectionTimePeriod property +// returns a TimePeriodable when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetProtectionTimePeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable) { + val, err := m.GetBackingStore().Get("protectionTimePeriod") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable) + } + return nil +} +// GetProtectionUnitIds gets the protectionUnitIds property value. The protectionUnitIds property +// returns a []string when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetProtectionUnitIds()([]string) { + val, err := m.GetBackingStore().Get("protectionUnitIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetRestorePointPreference gets the restorePointPreference property value. The restorePointPreference property +// returns a *RestorePointPreference when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetRestorePointPreference()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference) { + val, err := m.GetBackingStore().Get("restorePointPreference") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference) + } + return nil +} +// GetTags gets the tags property value. The tags property +// returns a *RestorePointTags when successful +func (m *BackuprestoreRestorepointsSearchPostRequestBody) GetTags()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags) + } + return nil +} +// Serialize serializes information the current object +func (m *BackuprestoreRestorepointsSearchPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("protectionTimePeriod", m.GetProtectionTimePeriod()) + if err != nil { + return err + } + } + if m.GetProtectionUnitIds() != nil { + err := writer.WriteCollectionOfStringValues("protectionUnitIds", m.GetProtectionUnitIds()) + if err != nil { + return err + } + } + if m.GetRestorePointPreference() != nil { + cast := (*m.GetRestorePointPreference()).String() + err := writer.WriteStringValue("restorePointPreference", &cast) + if err != nil { + return err + } + } + if m.GetTags() != nil { + cast := (*m.GetTags()).String() + err := writer.WriteStringValue("tags", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetProtectionTimePeriod sets the protectionTimePeriod property value. The protectionTimePeriod property +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetProtectionTimePeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable)() { + err := m.GetBackingStore().Set("protectionTimePeriod", value) + if err != nil { + panic(err) + } +} +// SetProtectionUnitIds sets the protectionUnitIds property value. The protectionUnitIds property +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetProtectionUnitIds(value []string)() { + err := m.GetBackingStore().Set("protectionUnitIds", value) + if err != nil { + panic(err) + } +} +// SetRestorePointPreference sets the restorePointPreference property value. The restorePointPreference property +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetRestorePointPreference(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference)() { + err := m.GetBackingStore().Set("restorePointPreference", value) + if err != nil { + panic(err) + } +} +// SetTags sets the tags property value. The tags property +func (m *BackuprestoreRestorepointsSearchPostRequestBody) SetTags(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} +type BackuprestoreRestorepointsSearchPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetProtectionTimePeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable) + GetProtectionUnitIds()([]string) + GetRestorePointPreference()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference) + GetTags()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetProtectionTimePeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimePeriodable)() + SetProtectionUnitIds(value []string)() + SetRestorePointPreference(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointPreference)() + SetTags(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointTags)() +} diff --git a/solutions/backuprestore_restorepoints_search_request_builder.go b/solutions/backuprestore_restorepoints_search_request_builder.go new file mode 100644 index 00000000000..7292cd17452 --- /dev/null +++ b/solutions/backuprestore_restorepoints_search_request_builder.go @@ -0,0 +1,76 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestorepointsSearchRequestBuilder provides operations to call the search method. +type BackuprestoreRestorepointsSearchRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestorepointsSearchRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestorepointsSearchRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreRestorepointsSearchRequestBuilderInternal instantiates a new BackuprestoreRestorepointsSearchRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsSearchRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsSearchRequestBuilder) { + m := &BackuprestoreRestorepointsSearchRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restorePoints/search", pathParameters), + } + return m +} +// NewBackuprestoreRestorepointsSearchRequestBuilder instantiates a new BackuprestoreRestorepointsSearchRequestBuilder and sets the default values. +func NewBackuprestoreRestorepointsSearchRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestorepointsSearchRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestorepointsSearchRequestBuilderInternal(urlParams, requestAdapter) +} +// Post search for the restorePoint objects associated with a protectionUnit. +// returns a RestorePointSearchResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/restorepoint-search?view=graph-rest-beta +func (m *BackuprestoreRestorepointsSearchRequestBuilder) Post(ctx context.Context, body BackuprestoreRestorepointsSearchPostRequestBodyable, requestConfiguration *BackuprestoreRestorepointsSearchRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointSearchResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointSearchResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointSearchResponseable), nil +} +// ToPostRequestInformation search for the restorePoint objects associated with a protectionUnit. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestorepointsSearchRequestBuilder) ToPostRequestInformation(ctx context.Context, body BackuprestoreRestorepointsSearchPostRequestBodyable, requestConfiguration *BackuprestoreRestorepointsSearchRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestorepointsSearchRequestBuilder when successful +func (m *BackuprestoreRestorepointsSearchRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestorepointsSearchRequestBuilder) { + return NewBackuprestoreRestorepointsSearchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restoresessions_count_request_builder.go b/solutions/backuprestore_restoresessions_count_request_builder.go new file mode 100644 index 00000000000..43065a8d73b --- /dev/null +++ b/solutions/backuprestore_restoresessions_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestoresessionsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreRestoresessionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestoresessionsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreRestoresessionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreRestoresessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestoresessionsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreRestoresessionsCountRequestBuilderInternal instantiates a new BackuprestoreRestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsCountRequestBuilder) { + m := &BackuprestoreRestoresessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restoreSessions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreRestoresessionsCountRequestBuilder instantiates a new BackuprestoreRestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestoresessionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestoresessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreRestoresessionsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestoresessionsCountRequestBuilder) { + return NewBackuprestoreRestoresessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restoresessions_item_activate_request_builder.go b/solutions/backuprestore_restoresessions_item_activate_request_builder.go new file mode 100644 index 00000000000..33ab9cdc407 --- /dev/null +++ b/solutions/backuprestore_restoresessions_item_activate_request_builder.go @@ -0,0 +1,72 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestoresessionsItemActivateRequestBuilder provides operations to call the activate method. +type BackuprestoreRestoresessionsItemActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestoresessionsItemActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsItemActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreRestoresessionsItemActivateRequestBuilderInternal instantiates a new BackuprestoreRestoresessionsItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsItemActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsItemActivateRequestBuilder) { + m := &BackuprestoreRestoresessionsItemActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restoreSessions/{restoreSessionBase%2Did}/activate", pathParameters), + } + return m +} +// NewBackuprestoreRestoresessionsItemActivateRequestBuilder instantiates a new BackuprestoreRestoresessionsItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsItemActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsItemActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestoresessionsItemActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post activate a draft restoreSessionBase object. +// returns a RestoreSessionBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/restoresessionbase-activate?view=graph-rest-beta +func (m *BackuprestoreRestoresessionsItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestoreSessionBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable), nil +} +// ToPostRequestInformation activate a draft restoreSessionBase object. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsItemActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsItemActivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestoresessionsItemActivateRequestBuilder when successful +func (m *BackuprestoreRestoresessionsItemActivateRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestoresessionsItemActivateRequestBuilder) { + return NewBackuprestoreRestoresessionsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restoresessions_restore_session_base_item_request_builder.go b/solutions/backuprestore_restoresessions_restore_session_base_item_request_builder.go new file mode 100644 index 00000000000..ce394e5eac6 --- /dev/null +++ b/solutions/backuprestore_restoresessions_restore_session_base_item_request_builder.go @@ -0,0 +1,168 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetQueryParameters get the properties of a restoreSession object by ID. +type BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetQueryParameters +} +// BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Activate provides operations to call the activate method. +// returns a *BackuprestoreRestoresessionsItemActivateRequestBuilder when successful +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) Activate()(*BackuprestoreRestoresessionsItemActivateRequestBuilder) { + return NewBackuprestoreRestoresessionsItemActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderInternal instantiates a new BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) { + m := &BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restoreSessions/{restoreSessionBase%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder instantiates a new BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a draft restoreSessionBase object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/restoresessionbase-delete?view=graph-rest-beta +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get the properties of a restoreSession object by ID. +// returns a RestoreSessionBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/restoresessionbase-get?view=graph-rest-beta +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestoreSessionBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable), nil +} +// Patch update the navigation property restoreSessions in solutions +// returns a RestoreSessionBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestoreSessionBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable), nil +} +// ToDeleteRequestInformation delete a draft restoreSessionBase object. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get the properties of a restoreSession object by ID. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property restoreSessions in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder when successful +func (m *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) { + return NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_restoresessions_restore_sessions_request_builder.go b/solutions/backuprestore_restoresessions_restore_sessions_request_builder.go new file mode 100644 index 00000000000..87210d2fb81 --- /dev/null +++ b/solutions/backuprestore_restoresessions_restore_sessions_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreRestoresessionsRestoreSessionsRequestBuilder provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreRestoresessionsRestoreSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetQueryParameters get a list of restoreSession objects and their properties. +type BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetQueryParameters +} +// BackuprestoreRestoresessionsRestoreSessionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreRestoresessionsRestoreSessionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByRestoreSessionBaseId provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder when successful +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) ByRestoreSessionBaseId(restoreSessionBaseId string)(*BackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if restoreSessionBaseId != "" { + urlTplParams["restoreSessionBase%2Did"] = restoreSessionBaseId + } + return NewBackuprestoreRestoresessionsRestoreSessionBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilderInternal instantiates a new BackuprestoreRestoresessionsRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) { + m := &BackuprestoreRestoresessionsRestoreSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/restoreSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilder instantiates a new BackuprestoreRestoresessionsRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreRestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) Count()(*BackuprestoreRestoresessionsCountRequestBuilder) { + return NewBackuprestoreRestoresessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of restoreSession objects and their properties. +// returns a RestoreSessionBaseCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-restoresessions?view=graph-rest-beta +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestoreSessionBaseCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseCollectionResponseable), nil +} +// Post create new navigation property to restoreSessions for solutions +// returns a RestoreSessionBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestoreSessionBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable), nil +} +// ToGetRequestInformation get a list of restoreSession objects and their properties. +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to restoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestoreSessionBaseable, requestConfiguration *BackuprestoreRestoresessionsRestoreSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreRestoresessionsRestoreSessionsRequestBuilder) { + return NewBackuprestoreRestoresessionsRestoreSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_serviceapps_count_request_builder.go b/solutions/backuprestore_serviceapps_count_request_builder.go new file mode 100644 index 00000000000..a33162f2997 --- /dev/null +++ b/solutions/backuprestore_serviceapps_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreServiceappsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreServiceappsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreServiceappsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreServiceappsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreServiceappsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreServiceappsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreServiceappsCountRequestBuilderInternal instantiates a new BackuprestoreServiceappsCountRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsCountRequestBuilder) { + m := &BackuprestoreServiceappsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/serviceApps/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreServiceappsCountRequestBuilder instantiates a new BackuprestoreServiceappsCountRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreServiceappsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreServiceappsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreServiceappsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreServiceappsCountRequestBuilder when successful +func (m *BackuprestoreServiceappsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreServiceappsCountRequestBuilder) { + return NewBackuprestoreServiceappsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_serviceapps_item_activate_request_builder.go b/solutions/backuprestore_serviceapps_item_activate_request_builder.go new file mode 100644 index 00000000000..0fbbe08601d --- /dev/null +++ b/solutions/backuprestore_serviceapps_item_activate_request_builder.go @@ -0,0 +1,72 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreServiceappsItemActivateRequestBuilder provides operations to call the activate method. +type BackuprestoreServiceappsItemActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreServiceappsItemActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsItemActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreServiceappsItemActivateRequestBuilderInternal instantiates a new BackuprestoreServiceappsItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsItemActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsItemActivateRequestBuilder) { + m := &BackuprestoreServiceappsItemActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/serviceApps/{serviceApp%2Did}/activate", pathParameters), + } + return m +} +// NewBackuprestoreServiceappsItemActivateRequestBuilder instantiates a new BackuprestoreServiceappsItemActivateRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsItemActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsItemActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreServiceappsItemActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post activate a serviceApp. +// returns a ServiceAppable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceapp-activate?view=graph-rest-beta +func (m *BackuprestoreServiceappsItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *BackuprestoreServiceappsItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable), nil +} +// ToPostRequestInformation activate a serviceApp. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsItemActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsItemActivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreServiceappsItemActivateRequestBuilder when successful +func (m *BackuprestoreServiceappsItemActivateRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreServiceappsItemActivateRequestBuilder) { + return NewBackuprestoreServiceappsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_serviceapps_item_deactivate_request_builder.go b/solutions/backuprestore_serviceapps_item_deactivate_request_builder.go new file mode 100644 index 00000000000..91e8b1b9a40 --- /dev/null +++ b/solutions/backuprestore_serviceapps_item_deactivate_request_builder.go @@ -0,0 +1,72 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreServiceappsItemDeactivateRequestBuilder provides operations to call the deactivate method. +type BackuprestoreServiceappsItemDeactivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreServiceappsItemDeactivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsItemDeactivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreServiceappsItemDeactivateRequestBuilderInternal instantiates a new BackuprestoreServiceappsItemDeactivateRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsItemDeactivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsItemDeactivateRequestBuilder) { + m := &BackuprestoreServiceappsItemDeactivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/serviceApps/{serviceApp%2Did}/deactivate", pathParameters), + } + return m +} +// NewBackuprestoreServiceappsItemDeactivateRequestBuilder instantiates a new BackuprestoreServiceappsItemDeactivateRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsItemDeactivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsItemDeactivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreServiceappsItemDeactivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post deactivate a serviceApp. +// returns a ServiceAppable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceapp-deactivate?view=graph-rest-beta +func (m *BackuprestoreServiceappsItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *BackuprestoreServiceappsItemDeactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable), nil +} +// ToPostRequestInformation deactivate a serviceApp. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsItemDeactivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsItemDeactivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreServiceappsItemDeactivateRequestBuilder when successful +func (m *BackuprestoreServiceappsItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreServiceappsItemDeactivateRequestBuilder) { + return NewBackuprestoreServiceappsItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_serviceapps_service_app_item_request_builder.go b/solutions/backuprestore_serviceapps_service_app_item_request_builder.go new file mode 100644 index 00000000000..e7e47d244d9 --- /dev/null +++ b/solutions/backuprestore_serviceapps_service_app_item_request_builder.go @@ -0,0 +1,173 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreServiceappsServiceAppItemRequestBuilder provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreServiceappsServiceAppItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreServiceappsServiceAppItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsServiceAppItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreServiceappsServiceAppItemRequestBuilderGetQueryParameters read the properties and relationships of a serviceApp object. +type BackuprestoreServiceappsServiceAppItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreServiceappsServiceAppItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsServiceAppItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreServiceappsServiceAppItemRequestBuilderGetQueryParameters +} +// BackuprestoreServiceappsServiceAppItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsServiceAppItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Activate provides operations to call the activate method. +// returns a *BackuprestoreServiceappsItemActivateRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) Activate()(*BackuprestoreServiceappsItemActivateRequestBuilder) { + return NewBackuprestoreServiceappsItemActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreServiceappsServiceAppItemRequestBuilderInternal instantiates a new BackuprestoreServiceappsServiceAppItemRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsServiceAppItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsServiceAppItemRequestBuilder) { + m := &BackuprestoreServiceappsServiceAppItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/serviceApps/{serviceApp%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreServiceappsServiceAppItemRequestBuilder instantiates a new BackuprestoreServiceappsServiceAppItemRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsServiceAppItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsServiceAppItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreServiceappsServiceAppItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Deactivate provides operations to call the deactivate method. +// returns a *BackuprestoreServiceappsItemDeactivateRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) Deactivate()(*BackuprestoreServiceappsItemDeactivateRequestBuilder) { + return NewBackuprestoreServiceappsItemDeactivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete a serviceApp. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-delete-serviceapps?view=graph-rest-beta +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a serviceApp object. +// returns a ServiceAppable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceapp-get?view=graph-rest-beta +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable), nil +} +// Patch update the navigation property serviceApps in solutions +// returns a ServiceAppable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable), nil +} +// ToDeleteRequestInformation delete a serviceApp. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a serviceApp object. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property serviceApps in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, requestConfiguration *BackuprestoreServiceappsServiceAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreServiceappsServiceAppItemRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreServiceappsServiceAppItemRequestBuilder) { + return NewBackuprestoreServiceappsServiceAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_serviceapps_service_apps_request_builder.go b/solutions/backuprestore_serviceapps_service_apps_request_builder.go new file mode 100644 index 00000000000..9f7667ad02d --- /dev/null +++ b/solutions/backuprestore_serviceapps_service_apps_request_builder.go @@ -0,0 +1,158 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreServiceappsServiceAppsRequestBuilder provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreServiceappsServiceAppsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreServiceappsServiceAppsRequestBuilderGetQueryParameters get a list of serviceApp objects and their properties. +type BackuprestoreServiceappsServiceAppsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreServiceappsServiceAppsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsServiceAppsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreServiceappsServiceAppsRequestBuilderGetQueryParameters +} +// BackuprestoreServiceappsServiceAppsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreServiceappsServiceAppsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByServiceAppId provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreServiceappsServiceAppItemRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) ByServiceAppId(serviceAppId string)(*BackuprestoreServiceappsServiceAppItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if serviceAppId != "" { + urlTplParams["serviceApp%2Did"] = serviceAppId + } + return NewBackuprestoreServiceappsServiceAppItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreServiceappsServiceAppsRequestBuilderInternal instantiates a new BackuprestoreServiceappsServiceAppsRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsServiceAppsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsServiceAppsRequestBuilder) { + m := &BackuprestoreServiceappsServiceAppsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/serviceApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreServiceappsServiceAppsRequestBuilder instantiates a new BackuprestoreServiceappsServiceAppsRequestBuilder and sets the default values. +func NewBackuprestoreServiceappsServiceAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreServiceappsServiceAppsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreServiceappsServiceAppsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreServiceappsCountRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) Count()(*BackuprestoreServiceappsCountRequestBuilder) { + return NewBackuprestoreServiceappsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of serviceApp objects and their properties. +// returns a ServiceAppCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-serviceapps?view=graph-rest-beta +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppCollectionResponseable), nil +} +// Post create a new serviceApp. +// returns a ServiceAppable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-post-serviceapps?view=graph-rest-beta +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, requestConfiguration *BackuprestoreServiceappsServiceAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable), nil +} +// ToGetRequestInformation get a list of serviceApp objects and their properties. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreServiceappsServiceAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new serviceApp. +// returns a *RequestInformation when successful +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAppable, requestConfiguration *BackuprestoreServiceappsServiceAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreServiceappsServiceAppsRequestBuilder when successful +func (m *BackuprestoreServiceappsServiceAppsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreServiceappsServiceAppsRequestBuilder) { + return NewBackuprestoreServiceappsServiceAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_count_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_count_request_builder.go new file mode 100644 index 00000000000..5b308367360 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSharepointprotectionpoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_count_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..19106697054 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_inclusion_rules_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..36fbf890b71 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_inclusion_rules_request_builder.go @@ -0,0 +1,113 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters +} +// BySiteProtectionRuleId provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) BySiteProtectionRuleId(siteProtectionRuleId string)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if siteProtectionRuleId != "" { + urlTplParams["siteProtectionRule%2Did"] = siteProtectionRuleId + } + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) Count()(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a SiteProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteinclusionrules?view=graph-rest-beta +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleCollectionResponseable), nil +} +// ToGetRequestInformation get a list of siteProtectionRule objects associated with a sharePointProtectionPolicy. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_protection_rule_item_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..7e6a8b8d648 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteinclusionrules_site_protection_rule_item_request_builder.go @@ -0,0 +1,84 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteInclusionRules/{siteProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a SiteProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable), nil +} +// ToGetRequestInformation get a protection rule that's associated with a protection policy. You can use this operation to get mailbox, drive, and site protection rules. An inclusion rule indicates that a protection policy should contain protection units that match the specified rule criteria. The initial status of a protection rule upon creation is active. After the rule is applied, the state is either completed or completedWithErrors. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_count_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..577cbb43b30 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_unit_item_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..204ee5687e7 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_unit_item_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters the protection units (sites) that are protected under the site protection policy. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteProtectionUnits/{siteProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the protection units (sites) that are protected under the site protection policy. +// returns a SiteProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable), nil +} +// ToGetRequestInformation the protection units (sites) that are protected under the site protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_units_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_units_request_builder.go new file mode 100644 index 00000000000..7010d53fb95 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_item_siteprotectionunits_site_protection_units_request_builder.go @@ -0,0 +1,113 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters +} +// BySiteProtectionUnitId provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) BySiteProtectionUnitId(siteProtectionUnitId string)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if siteProtectionUnitId != "" { + urlTplParams["siteProtectionUnit%2Did"] = siteProtectionUnitId + } + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}/siteProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) Count()(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +// returns a SiteProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitCollectionResponseable), nil +} +// ToGetRequestInformation get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policies_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policies_request_builder.go new file mode 100644 index 00000000000..bba75bd5bd7 --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policies_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetQueryParameters the list of SharePoint protection policies in the tenant. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointProtectionPolicyId provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) BySharePointProtectionPolicyId(sharePointProtectionPolicyId string)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointProtectionPolicyId != "" { + urlTplParams["sharePointProtectionPolicy%2Did"] = sharePointProtectionPolicyId + } + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSharepointprotectionpoliciesCountRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) Count()(*BackuprestoreSharepointprotectionpoliciesCountRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of SharePoint protection policies in the tenant. +// returns a SharePointProtectionPolicyCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointProtectionPolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyCollectionResponseable), nil +} +// Post create a protection policy for a M365 service SharePoint. Policy will be created in inactive state. User can also provide a list of protection units under the policy. +// returns a SharePointProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointprotectionpolicies?view=graph-rest-beta +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable), nil +} +// ToGetRequestInformation the list of SharePoint protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a protection policy for a M365 service SharePoint. Policy will be created in inactive state. User can also provide a list of protection units under the policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policy_item_request_builder.go b/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policy_item_request_builder.go new file mode 100644 index 00000000000..7d0a87c3b0d --- /dev/null +++ b/solutions/backuprestore_sharepointprotectionpolicies_share_point_protection_policy_item_request_builder.go @@ -0,0 +1,170 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetQueryParameters the list of SharePoint protection policies in the tenant. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderInternal instantiates a new BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) { + m := &BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointProtectionPolicies/{sharePointProtectionPolicy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder instantiates a new BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sharePointProtectionPolicies for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of SharePoint protection policies in the tenant. +// returns a SharePointProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable), nil +} +// Patch update a SharePoint protection policy. This method adds a sharepointprotectionunit to or removes it from the protection policy. +// returns a SharePointProtectionPolicyable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-update?view=graph-rest-beta +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointProtectionPolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable), nil +} +// SiteInclusionRules provides operations to manage the siteInclusionRules property of the microsoft.graph.sharePointProtectionPolicy entity. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) SiteInclusionRules()(*BackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SiteProtectionUnits provides operations to manage the siteProtectionUnits property of the microsoft.graph.sharePointProtectionPolicy entity. +// returns a *BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) SiteProtectionUnits()(*BackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesItemSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property sharePointProtectionPolicies for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of SharePoint protection policies in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update a SharePoint protection policy. This method adds a sharepointprotectionunit to or removes it from the protection policy. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointProtectionPolicyable, requestConfiguration *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder when successful +func (m *BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder) { + return NewBackuprestoreSharepointprotectionpoliciesSharePointProtectionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_count_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_count_request_builder.go new file mode 100644 index 00000000000..0522c54c1b5 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSharepointrestoresessionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSharepointrestoresessionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSharepointrestoresessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointrestoresessionsCountRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsCountRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsCountRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsCountRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_count_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_count_request_builder.go new file mode 100644 index 00000000000..02f4c4a915d --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifacts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_item_restorepoint_restore_point_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_item_restorepoint_restore_point_request_builder.go new file mode 100644 index 00000000000..c08d9689386 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_item_restorepoint_restore_point_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetQueryParameters +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifacts/{siteRestoreArtifact%2Did}/restorePoint{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(urlParams, requestAdapter) +} +// Get represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a RestorePointable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateRestorePointFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RestorePointable), nil +} +// ToGetRequestInformation represents the date and time when an artifact is protected by a protectionPolicy and can be restored. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifact_item_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifact_item_request_builder.go new file mode 100644 index 00000000000..e95899b28b7 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifact_item_request_builder.go @@ -0,0 +1,162 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore SharePoint sites. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifacts/{siteRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property siteRestoreArtifacts for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of restore points and destination details that can be used to restore SharePoint sites. +// returns a SiteRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable), nil +} +// Patch update the navigation property siteRestoreArtifacts in solutions +// returns a SiteRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable), nil +} +// RestorePoint provides operations to manage the restorePoint property of the microsoft.graph.restoreArtifactBase entity. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) RestorePoint()(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsItemRestorepointRestorePointRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property siteRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of restore points and destination details that can be used to restore SharePoint sites. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property siteRestoreArtifacts in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifacts_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifacts_request_builder.go new file mode 100644 index 00000000000..45e6f3336f8 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_item_siterestoreartifacts_site_restore_artifacts_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetQueryParameters list all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySiteRestoreArtifactId provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) BySiteRestoreArtifactId(siteRestoreArtifactId string)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if siteRestoreArtifactId != "" { + urlTplParams["siteRestoreArtifact%2Did"] = siteRestoreArtifactId + } + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/siteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) Count()(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. +// returns a SiteRestoreArtifactCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-siterestoreartifacts?view=graph-rest-beta +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteRestoreArtifactCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactCollectionResponseable), nil +} +// Post create new navigation property to siteRestoreArtifacts for solutions +// returns a SiteRestoreArtifactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteRestoreArtifactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable), nil +} +// ToGetRequestInformation list all the siteRestoreArtifact objects for a sharePointRestoreSession for the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to siteRestoreArtifacts for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactable, requestConfiguration *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_share_point_restore_session_item_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_share_point_restore_session_item_request_builder.go new file mode 100644 index 00000000000..67cd9c66ee3 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_share_point_restore_session_item_request_builder.go @@ -0,0 +1,162 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetQueryParameters the list of SharePoint restore sessions available in the tenant. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sharePointRestoreSessions for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of SharePoint restore sessions available in the tenant. +// returns a SharePointRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable), nil +} +// Patch update the navigation property sharePointRestoreSessions in solutions +// returns a SharePointRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable), nil +} +// SiteRestoreArtifacts provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. +// returns a *BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) SiteRestoreArtifacts()(*BackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsItemSiterestoreartifactsSiteRestoreArtifactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property sharePointRestoreSessions for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of SharePoint restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sharePointRestoreSessions in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_sharepointrestoresessions_share_point_restore_sessions_request_builder.go b/solutions/backuprestore_sharepointrestoresessions_share_point_restore_sessions_request_builder.go new file mode 100644 index 00000000000..8c50d671a52 --- /dev/null +++ b/solutions/backuprestore_sharepointrestoresessions_share_point_restore_sessions_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetQueryParameters the list of SharePoint restore sessions available in the tenant. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetQueryParameters +} +// BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointRestoreSessionId provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) BySharePointRestoreSessionId(sharePointRestoreSessionId string)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointRestoreSessionId != "" { + urlTplParams["sharePointRestoreSession%2Did"] = sharePointRestoreSessionId + } + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderInternal instantiates a new BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) { + m := &BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder instantiates a new BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder and sets the default values. +func NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSharepointrestoresessionsCountRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) Count()(*BackuprestoreSharepointrestoresessionsCountRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of SharePoint restore sessions available in the tenant. +// returns a SharePointRestoreSessionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointRestoreSessionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionCollectionResponseable), nil +} +// Post create a new sharePointRestoreSession object. +// returns a SharePointRestoreSessionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointrestoresessions?view=graph-rest-beta +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSharePointRestoreSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable), nil +} +// ToGetRequestInformation the list of SharePoint restore sessions available in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new sharePointRestoreSession object. +// returns a *RequestInformation when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder when successful +func (m *BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder) { + return NewBackuprestoreSharepointrestoresessionsSharePointRestoreSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteinclusionrules_count_request_builder.go b/solutions/backuprestore_siteinclusionrules_count_request_builder.go new file mode 100644 index 00000000000..59ccbc25671 --- /dev/null +++ b/solutions/backuprestore_siteinclusionrules_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteinclusionrulesCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSiteinclusionrulesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteinclusionrulesCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSiteinclusionrulesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSiteinclusionrulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteinclusionrulesCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSiteinclusionrulesCountRequestBuilderInternal instantiates a new BackuprestoreSiteinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesCountRequestBuilder) { + m := &BackuprestoreSiteinclusionrulesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteInclusionRules/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSiteinclusionrulesCountRequestBuilder instantiates a new BackuprestoreSiteinclusionrulesCountRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteinclusionrulesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreSiteinclusionrulesCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteinclusionrulesCountRequestBuilder) { + return NewBackuprestoreSiteinclusionrulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteinclusionrules_site_inclusion_rules_request_builder.go b/solutions/backuprestore_siteinclusionrules_site_inclusion_rules_request_builder.go new file mode 100644 index 00000000000..9d66b5fc051 --- /dev/null +++ b/solutions/backuprestore_siteinclusionrules_site_inclusion_rules_request_builder.go @@ -0,0 +1,152 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters the list of site inclusion rules applied to the tenant. +type BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetQueryParameters +} +// BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySiteProtectionRuleId provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) BySiteProtectionRuleId(siteProtectionRuleId string)(*BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if siteProtectionRuleId != "" { + urlTplParams["siteProtectionRule%2Did"] = siteProtectionRuleId + } + return NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal instantiates a new BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + m := &BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteInclusionRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder instantiates a new BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSiteinclusionrulesCountRequestBuilder when successful +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) Count()(*BackuprestoreSiteinclusionrulesCountRequestBuilder) { + return NewBackuprestoreSiteinclusionrulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the list of site inclusion rules applied to the tenant. +// returns a SiteProtectionRuleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleCollectionResponseable), nil +} +// Post create new navigation property to siteInclusionRules for solutions +// returns a SiteProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, requestConfiguration *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable), nil +} +// ToGetRequestInformation the list of site inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to siteInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, requestConfiguration *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder when successful +func (m *BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder) { + return NewBackuprestoreSiteinclusionrulesSiteInclusionRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteinclusionrules_site_protection_rule_item_request_builder.go b/solutions/backuprestore_siteinclusionrules_site_protection_rule_item_request_builder.go new file mode 100644 index 00000000000..383fa0012ad --- /dev/null +++ b/solutions/backuprestore_siteinclusionrules_site_protection_rule_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters the list of site inclusion rules applied to the tenant. +type BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetQueryParameters +} +// BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal instantiates a new BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + m := &BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteInclusionRules/{siteProtectionRule%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder instantiates a new BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder and sets the default values. +func NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property siteInclusionRules for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of site inclusion rules applied to the tenant. +// returns a SiteProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable), nil +} +// Patch update the navigation property siteInclusionRules in solutions +// returns a SiteProtectionRuleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionRuleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable), nil +} +// ToDeleteRequestInformation delete navigation property siteInclusionRules for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of site inclusion rules applied to the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property siteInclusionRules in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionRuleable, requestConfiguration *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder when successful +func (m *BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder) { + return NewBackuprestoreSiteinclusionrulesSiteProtectionRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteprotectionunits_count_request_builder.go b/solutions/backuprestore_siteprotectionunits_count_request_builder.go new file mode 100644 index 00000000000..03ec55fb9f5 --- /dev/null +++ b/solutions/backuprestore_siteprotectionunits_count_request_builder.go @@ -0,0 +1,80 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteprotectionunitsCountRequestBuilder provides operations to count the resources in the collection. +type BackuprestoreSiteprotectionunitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteprotectionunitsCountRequestBuilderGetQueryParameters get the number of the resource +type BackuprestoreSiteprotectionunitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// BackuprestoreSiteprotectionunitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteprotectionunitsCountRequestBuilderGetQueryParameters +} +// NewBackuprestoreSiteprotectionunitsCountRequestBuilderInternal instantiates a new BackuprestoreSiteprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsCountRequestBuilder) { + m := &BackuprestoreSiteprotectionunitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteProtectionUnits/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewBackuprestoreSiteprotectionunitsCountRequestBuilder instantiates a new BackuprestoreSiteprotectionunitsCountRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteprotectionunitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteprotectionunitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreSiteprotectionunitsCountRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteprotectionunitsCountRequestBuilder) { + return NewBackuprestoreSiteprotectionunitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteprotectionunits_site_protection_unit_item_request_builder.go b/solutions/backuprestore_siteprotectionunits_site_protection_unit_item_request_builder.go new file mode 100644 index 00000000000..58b70bbb992 --- /dev/null +++ b/solutions/backuprestore_siteprotectionunits_site_protection_unit_item_request_builder.go @@ -0,0 +1,157 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters the list of site protection units in the tenant. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetQueryParameters +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal instantiates a new BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + m := &BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteProtectionUnits/{siteProtectionUnit%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder instantiates a new BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property siteProtectionUnits for solutions +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the list of site protection units in the tenant. +// returns a SiteProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable), nil +} +// Patch update the navigation property siteProtectionUnits in solutions +// returns a SiteProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable), nil +} +// ToDeleteRequestInformation delete navigation property siteProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the list of site protection units in the tenant. +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property siteProtectionUnits in solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/backuprestore_siteprotectionunits_site_protection_units_request_builder.go b/solutions/backuprestore_siteprotectionunits_site_protection_units_request_builder.go new file mode 100644 index 00000000000..37368b5d7fc --- /dev/null +++ b/solutions/backuprestore_siteprotectionunits_site_protection_units_request_builder.go @@ -0,0 +1,155 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetQueryParameters +} +// BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySiteProtectionUnitId provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity. +// returns a *BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) BySiteProtectionUnitId(siteProtectionUnitId string)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if siteProtectionUnitId != "" { + urlTplParams["siteProtectionUnit%2Did"] = siteProtectionUnitId + } + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal instantiates a new BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + m := &BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/siteProtectionUnits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder instantiates a new BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder and sets the default values. +func NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *BackuprestoreSiteprotectionunitsCountRequestBuilder when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) Count()(*BackuprestoreSiteprotectionunitsCountRequestBuilder) { + return NewBackuprestoreSiteprotectionunitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +// returns a SiteProtectionUnitCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitCollectionResponseable), nil +} +// Post create new navigation property to siteProtectionUnits for solutions +// returns a SiteProtectionUnitable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSiteProtectionUnitFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable), nil +} +// ToGetRequestInformation get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to siteProtectionUnits for solutions +// returns a *RequestInformation when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteProtectionUnitable, requestConfiguration *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder when successful +func (m *BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) WithUrl(rawUrl string)(*BackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder) { + return NewBackuprestoreSiteprotectionunitsSiteProtectionUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/businessscenarios_item_planner_planconfiguration_localizations_planner_plan_configuration_localization_item_request_builder.go b/solutions/businessscenarios_item_planner_planconfiguration_localizations_planner_plan_configuration_localization_item_request_builder.go index a9eda83897f..a8afb78ccf2 100644 --- a/solutions/businessscenarios_item_planner_planconfiguration_localizations_planner_plan_configuration_localization_item_request_builder.go +++ b/solutions/businessscenarios_item_planner_planconfiguration_localizations_planner_plan_configuration_localization_item_request_builder.go @@ -18,7 +18,7 @@ type BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters localized names for the plan configuration. +// BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters read the properties and relationships of a plannerPlanConfigurationLocalization object. type BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewBusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCon urlParams["request-raw-url"] = rawUrl return NewBusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property localizations for solutions +// Delete delete a plannerPlanConfigurationLocalization object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-delete-localizations?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCo } return nil } -// Get localized names for the plan configuration. +// Get read the properties and relationships of a plannerPlanConfigurationLocalization object. // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfigurationlocalization-get?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +96,12 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// Patch update the navigation property localizations in solutions +// Patch update the properties of a plannerPlanConfigurationLocalization object. // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfigurationlocalization-update?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -110,7 +119,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// ToDeleteRequestInformation delete navigation property localizations for solutions +// ToDeleteRequestInformation delete a plannerPlanConfigurationLocalization object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +130,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation localized names for the plan configuration. +// ToGetRequestInformation read the properties and relationships of a plannerPlanConfigurationLocalization object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +144,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property localizations in solutions +// ToPatchRequestInformation update the properties of a plannerPlanConfigurationLocalization object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/businessscenarios_item_planner_planconfiguration_localizations_request_builder.go b/solutions/businessscenarios_item_planner_planconfiguration_localizations_request_builder.go index d4af4bc5207..ff261e45b66 100644 --- a/solutions/businessscenarios_item_planner_planconfiguration_localizations_request_builder.go +++ b/solutions/businessscenarios_item_planner_planconfiguration_localizations_request_builder.go @@ -11,7 +11,7 @@ import ( type BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderGetQueryParameters localized names for the plan configuration. +// BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderGetQueryParameters get a list of the plannerPlanConfigurationLocalization objects and their properties. type BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewBusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) Count()(*BusinessscenariosItemPlannerPlanconfigurationLocalizationsCountRequestBuilder) { return NewBusinessscenariosItemPlannerPlanconfigurationLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get localized names for the plan configuration. +// Get get a list of the plannerPlanConfigurationLocalization objects and their properties. // returns a PlannerPlanConfigurationLocalizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-list-localizations?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationCollectionResponseable), nil } -// Post create new navigation property to localizations for solutions +// Post create a new plannerPlanConfigurationLocalization object. // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-post-localizations?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// ToGetRequestInformation localized names for the plan configuration. +// ToGetRequestInformation get a list of the plannerPlanConfigurationLocalization objects and their properties. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to localizations for solutions +// ToPostRequestInformation create a new plannerPlanConfigurationLocalization object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/businessscenarios_item_planner_planconfiguration_plan_configuration_request_builder.go b/solutions/businessscenarios_item_planner_planconfiguration_plan_configuration_request_builder.go index a2ed6de442a..cfdaaab6c09 100644 --- a/solutions/businessscenarios_item_planner_planconfiguration_plan_configuration_request_builder.go +++ b/solutions/businessscenarios_item_planner_planconfiguration_plan_configuration_request_builder.go @@ -18,7 +18,7 @@ type BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderGetQueryParameters the configuration of Planner plans that will be created for the scenario. +// BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderGetQueryParameters read the properties and relationships of a plannerPlanConfiguration object. type BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBu } return nil } -// Get the configuration of Planner plans that will be created for the scenario. +// Get read the properties and relationships of a plannerPlanConfiguration object. // returns a PlannerPlanConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-get?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,9 +98,12 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBu func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilder) Localizations()(*BusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilder) { return NewBusinessscenariosItemPlannerPlanconfigurationLocalizationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property planConfiguration in solutions +// Patch update the properties of a plannerPlanConfiguration object for a businessScenario. // returns a PlannerPlanConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-update?view=graph-rest-beta func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -126,7 +132,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the configuration of Planner plans that will be created for the scenario. +// ToGetRequestInformation read the properties and relationships of a plannerPlanConfiguration object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +146,7 @@ func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property planConfiguration in solutions +// ToPatchRequestInformation update the properties of a plannerPlanConfiguration object for a businessScenario. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, requestConfiguration *BusinessscenariosItemPlannerPlanconfigurationPlanConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/businessscenarios_item_planner_taskconfiguration_task_configuration_request_builder.go b/solutions/businessscenarios_item_planner_taskconfiguration_task_configuration_request_builder.go index 862104f05ba..f221e640de0 100644 --- a/solutions/businessscenarios_item_planner_taskconfiguration_task_configuration_request_builder.go +++ b/solutions/businessscenarios_item_planner_taskconfiguration_task_configuration_request_builder.go @@ -18,7 +18,7 @@ type BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderGetQueryParameters the configuration of Planner tasks that will be created for the scenario. +// BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderGetQueryParameters read the properties and relationships of a plannerTaskConfiguration object. type BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBu } return nil } -// Get the configuration of Planner tasks that will be created for the scenario. +// Get read the properties and relationships of a plannerTaskConfiguration object. // returns a PlannerTaskConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskconfiguration-get?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +93,12 @@ func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable), nil } -// Patch update the navigation property taskConfiguration in solutions +// Patch update the properties of a plannerTaskConfiguration object. // returns a PlannerTaskConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskconfiguration-update?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, requestConfiguration *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +127,7 @@ func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the configuration of Planner tasks that will be created for the scenario. +// ToGetRequestInformation read the properties and relationships of a plannerTaskConfiguration object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property taskConfiguration in solutions +// ToPatchRequestInformation update the properties of a plannerTaskConfiguration object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, requestConfiguration *BusinessscenariosItemPlannerTaskconfigurationTaskConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/businessscenarios_item_planner_tasks_business_scenario_task_item_request_builder.go b/solutions/businessscenarios_item_planner_tasks_business_scenario_task_item_request_builder.go index 7b3322e52a2..c4e99048c78 100644 --- a/solutions/businessscenarios_item_planner_tasks_business_scenario_task_item_request_builder.go +++ b/solutions/businessscenarios_item_planner_tasks_business_scenario_task_item_request_builder.go @@ -18,7 +18,7 @@ type BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters the Planner tasks for the scenario. +// BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters read the properties and relationships of a businessScenarioTask object. type BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,8 +64,11 @@ func NewBusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewBusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property tasks for solutions +// Delete delete a businessScenarioTask object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-delete-tasks?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -85,9 +88,12 @@ func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Details()(*BusinessscenariosItemPlannerTasksItemDetailsRequestBuilder) { return NewBusinessscenariosItemPlannerTasksItemDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the Planner tasks for the scenario. +// Get read the properties and relationships of a businessScenarioTask object. // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenariotask-get?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,9 +111,12 @@ func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable), nil } -// Patch update the navigation property tasks in solutions +// Patch update the properties of a businessScenarioTask object. // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenariotask-update?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +139,7 @@ func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ProgressTaskBoardFormat()(*BusinessscenariosItemPlannerTasksItemProgresstaskboardformatProgressTaskBoardFormatRequestBuilder) { return NewBusinessscenariosItemPlannerTasksItemProgresstaskboardformatProgressTaskBoardFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property tasks for solutions +// ToDeleteRequestInformation delete a businessScenarioTask object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +150,7 @@ func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the Planner tasks for the scenario. +// ToGetRequestInformation read the properties and relationships of a businessScenarioTask object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -155,7 +164,7 @@ func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property tasks in solutions +// ToPatchRequestInformation update the properties of a businessScenarioTask object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessscenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/businessscenarios_item_planner_tasks_request_builder.go b/solutions/businessscenarios_item_planner_tasks_request_builder.go index 40bcfd5ded2..eef9b779997 100644 --- a/solutions/businessscenarios_item_planner_tasks_request_builder.go +++ b/solutions/businessscenarios_item_planner_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type BusinessscenariosItemPlannerTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BusinessscenariosItemPlannerTasksRequestBuilderGetQueryParameters the Planner tasks for the scenario. +// BusinessscenariosItemPlannerTasksRequestBuilderGetQueryParameters get a list of the businessScenarioTask objects and their properties. type BusinessscenariosItemPlannerTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewBusinessscenariosItemPlannerTasksRequestBuilder(rawUrl string, requestAd func (m *BusinessscenariosItemPlannerTasksRequestBuilder) Count()(*BusinessscenariosItemPlannerTasksCountRequestBuilder) { return NewBusinessscenariosItemPlannerTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the Planner tasks for the scenario. +// Get get a list of the businessScenarioTask objects and their properties. // returns a BusinessScenarioTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-list-tasks?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *BusinessscenariosItemPlannerTasksRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskCollectionResponseable), nil } -// Post create new navigation property to tasks for solutions +// Post create a new businessScenarioTask object. // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-post-tasks?view=graph-rest-beta func (m *BusinessscenariosItemPlannerTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessscenariosItemPlannerTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *BusinessscenariosItemPlannerTasksRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable), nil } -// ToGetRequestInformation the Planner tasks for the scenario. +// ToGetRequestInformation get a list of the businessScenarioTask objects and their properties. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessscenariosItemPlannerTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *BusinessscenariosItemPlannerTasksRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to tasks for solutions +// ToPostRequestInformation create a new businessScenarioTask object. // returns a *RequestInformation when successful func (m *BusinessscenariosItemPlannerTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessscenariosItemPlannerTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/solutions_request_builder.go b/solutions/solutions_request_builder.go index 994e0b6a049..3d770c7a1e8 100644 --- a/solutions/solutions_request_builder.go +++ b/solutions/solutions_request_builder.go @@ -34,6 +34,11 @@ type SolutionsRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// BackupRestore provides operations to manage the backupRestore property of the microsoft.graph.solutionsRoot entity. +// returns a *BackuprestoreBackupRestoreRequestBuilder when successful +func (m *SolutionsRequestBuilder) BackupRestore()(*BackuprestoreBackupRestoreRequestBuilder) { + return NewBackuprestoreBackupRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // BookingBusinesses provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. // returns a *BookingbusinessesBookingBusinessesRequestBuilder when successful func (m *SolutionsRequestBuilder) BookingBusinesses()(*BookingbusinessesBookingBusinessesRequestBuilder) { diff --git a/solutions/virtualevents_webinars_item_sessions_item_attendancereports_attendance_reports_request_builder.go b/solutions/virtualevents_webinars_item_sessions_item_attendancereports_attendance_reports_request_builder.go index aacde1c8d7b..69dfa46da43 100644 --- a/solutions/virtualevents_webinars_item_sessions_item_attendancereports_attendance_reports_request_builder.go +++ b/solutions/virtualevents_webinars_item_sessions_item_attendancereports_attendance_reports_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilderGetQueryParameters the attendance reports of an online meeting. Read-only. +// VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilderGetQueryParameters 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. type VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewVirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsR func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilder) Count()(*VirtualeventsWebinarsItemSessionsItemAttendancereportsCountRequestBuilder) { return NewVirtualeventsWebinarsItemSessionsItemAttendancereportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the attendance reports of an online meeting. Read-only. +// Get 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. // returns a MeetingAttendanceReportCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-beta func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReports } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation the attendance reports of an online meeting. Read-only. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualeventsWebinarsItemSessionsItemAttendancereportsAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtualevents_webinars_item_sessions_item_attendancereports_meeting_attendance_report_item_request_builder.go b/solutions/virtualevents_webinars_item_sessions_item_attendancereports_meeting_attendance_report_item_request_builder.go index e1d362c76dd..702fbb69fb1 100644 --- a/solutions/virtualevents_webinars_item_sessions_item_attendancereports_meeting_attendance_report_item_request_builder.go +++ b/solutions/virtualevents_webinars_item_sessions_item_attendancereports_meeting_attendance_report_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceRepo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters the attendance reports of an online meeting. Read-only. +// VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. type VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendance } return nil } -// Get the attendance reports of an online meeting. Read-only. +// Get get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-beta func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +129,7 @@ func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendance requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the attendance reports of an online meeting. Read-only. +// ToGetRequestInformation get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. // returns a *RequestInformation when successful func (m *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualeventsWebinarsItemSessionsItemAttendancereportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/filestorage_containers_item_drive_items_item_copy_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_copy_post_request_body.go index f08d7c57521..4309b44a2a1 100644 --- a/storage/filestorage_containers_item_drive_items_item_copy_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_copy_post_request_body.go @@ -41,10 +41,32 @@ func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) GetAddition func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetChildrenOnly gets the childrenOnly property value. The childrenOnly property +// returns a *bool when successful +func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) GetChildrenOnly()(*bool) { + val, err := m.GetBackingStore().Get("childrenOnly") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["childrenOnly"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetChildrenOnly(val) + } + return nil + } res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -93,6 +115,12 @@ func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) GetParentRe } // Serialize serializes information the current object func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("childrenOnly", m.GetChildrenOnly()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("name", m.GetName()) if err != nil { @@ -124,6 +152,13 @@ func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) SetAddition func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetChildrenOnly sets the childrenOnly property value. The childrenOnly property +func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) SetChildrenOnly(value *bool)() { + err := m.GetBackingStore().Set("childrenOnly", value) + if err != nil { + panic(err) + } +} // SetName sets the name property value. The name property func (m *FilestorageContainersItemDriveItemsItemCopyPostRequestBody) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) @@ -143,9 +178,11 @@ type FilestorageContainersItemDriveItemsItemCopyPostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetChildrenOnly()(*bool) GetName()(*string) GetParentReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetChildrenOnly(value *bool)() SetName(value *string)() SetParentReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_copy_request_builder.go b/storage/filestorage_containers_item_drive_items_item_copy_request_builder.go index c62b95ca7e5..9681b5e6979 100644 --- a/storage/filestorage_containers_item_drive_items_item_copy_request_builder.go +++ b/storage/filestorage_containers_item_drive_items_item_copy_request_builder.go @@ -31,7 +31,7 @@ func NewFilestorageContainersItemDriveItemsItemCopyRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewFilestorageContainersItemDriveItemsItemCopyRequestBuilderInternal(urlParams, requestAdapter) } -// Post asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// Post asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *FilestorageContainersItemDriveItemsItemCopyRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToPostRequestInformation asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// ToPostRequestInformation asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a *RequestInformation when successful func (m *FilestorageContainersItemDriveItemsItemCopyRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageContainersItemDriveItemsItemCopyPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveItemsItemCopyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_abs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_abs_post_request_body.go index feeda15575d..448f40ebe05 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_abs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_abs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go index 54640368716..41deed26879 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntP return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCalcMethod gets the calcMethod property value. The calcMethod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("calcMethod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,156 +69,156 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["calcMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCalcMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCalcMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstInterest gets the firstInterest property value. The firstInterest property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntP m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCalcMethod sets the calcMethod property value. The calcMethod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("calcMethod", value) if err != nil { panic(err) } } // SetFirstInterest sets the firstInterest property value. The firstInterest property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstInterest", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go index e24d43e7f0e..b42192132a6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrInt return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrInt func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrInt m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acos_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acos_post_request_body.go index c60d6d11565..12518a3cf69 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acos_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acosh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acosh_post_request_body.go index 39aa99fdb11..da3cc15af12 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acosh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acot_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acot_post_request_body.go index 3d292be6971..1918746301f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acot_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acoth_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acoth_post_request_body.go index c3e93e12f6d..d8aaa4190b1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_acoth_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_acoth_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go index c15e0328e34..16887231be4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDe return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDe m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go index 991a0c4c4c7..f0525b34c8b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLin return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLin func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLin m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_and_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_and_post_request_body.go index 6fb74d4c1b0..5d4b49bea94 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_and_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_and_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_arabic_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_arabic_post_request_body.go index c46078e71b5..854632a0e90 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_arabic_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_arabic_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostReque m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_areas_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_areas_post_request_body.go index f795b555798..3016267d60e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_areas_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_areas_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostReques m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asc_post_request_body.go index 2730e644226..243988b1b38 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestB m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asin_post_request_body.go index 6631d7a3e16..e11c9282572 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asinh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asinh_post_request_body.go index f3fd7d1995b..0e4a9196689 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_asinh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_asinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan2_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan2_post_request_body.go index ddac759cebd..e8c06db4646 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan2_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan2_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["xNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetXNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetXNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetXNum gets the xNum property value. The xNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("xNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYNum gets the yNum property value. The yNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostReques m.backingStore = value } // SetXNum sets the xNum property value. The xNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("xNum", value) if err != nil { panic(err) } } // SetYNum sets the yNum property value. The yNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yNum", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan_post_request_body.go index dd67c95dd12..5ab89686bf5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atanh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atanh_post_request_body.go index 9d6b6e91824..47d2b2c7901 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_atanh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_atanh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go index 4946a9f1a54..c196a22fd78 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPos m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_average_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_average_post_request_body.go index af395d767a1..ae4ad37b681 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_average_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_average_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequ m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go index 429d9143e0f..fa4587e0d54 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverage func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverage m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go index dcccd3f32ec..f32e6aa1a0c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverag return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverag return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverag func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverag } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverag m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfP i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go index 8e7e87fcdc2..7f3982ffb65 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAvera return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAvera func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAvera } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAvera m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIf i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go index c9dfdf36300..1864bbd165f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTex func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTex m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_base_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_base_post_request_body.go index 25ca0ed238d..e085e7c15cb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_base_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_base_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["minLength"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinLength(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinLength(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMinLength gets the minLength property value. The minLength property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minLength") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequest m.backingStore = value } // SetMinLength sets the minLength property value. The minLength property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minLength", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go index 7de44e1f0d3..eaa2b99a243 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIP m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go index b7460547114..60bba558b85 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJP m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go index 3d98ed592fe..4e38b46e003 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKP m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go index 0b27f3a1174..d56be501003 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYP m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go index c4d08a0284e..6ad936fa188 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateFilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta return NewFilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,26 +77,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -106,76 +105,76 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -226,7 +225,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D return nil } // SetA sets the A property value. The A property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -240,14 +239,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -258,21 +257,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_D m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -282,18 +281,18 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistP i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go index 6a447735d4f..feef63a2736 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateFilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_ return NewFilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,14 +77,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -94,66 +93,66 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -198,7 +197,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In return nil } // SetA sets the A property value. The A property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -230,14 +229,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_In m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -247,16 +246,16 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPos i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go index a3330f45fa2..b56ae7f7bb6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go index bba58d48120..86674143618 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go index 888b864c3d6..2d64e3a8b66 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go index a05e58beb88..6749f0f848c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_Dis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go index 3ddc7b1347a..dc970cc739f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rang func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS2 gets the numberS2 property value. The numberS2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rang m.backingStore = value } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetNumberS2 sets the numberS2 property value. The numberS2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS2", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBin ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go index 0ddc6892a1f..c77689b93ff 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_ return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_ } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_ m.backingStore = value } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvP i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitand_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitand_post_request_body.go index d00d2a0e479..4e8b25a3d54 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitand_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitand_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostReque m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go index 71a5b26b200..fc3318772ab 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRe m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitor_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitor_post_request_body.go index afbdb5812ba..130ce2d0cca 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitor_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostReques m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go index d30cc903820..c584e7d67b9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRe m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go index cd6013db567..c754cecb997 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostReque m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go index a3accc36ac0..64f816752fd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCei func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCei m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go index 627c6d756e4..4ba6fd9dbb4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_precise func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_precise m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeil ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_char_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_char_post_request_body.go index 3706a4047a8..4633da3bedc 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_char_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_char_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go index 7b36dfb1e3a..13d4ce7b6eb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_Dis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go index 903083109ee..23d5e8e69ea 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtCh return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtCh func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtCh m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go index 58eabd1cb23..d8b79745451 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_ return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_ m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go index 99fad6ddcff..462d5a2674c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChi return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChi func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChi m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_I ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_choose_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_choose_post_request_body.go index df913f0540c..f47832cf3be 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_choose_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_choose_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["indexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIndexNum gets the indexNum property value. The indexNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("indexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostReque m.backingStore = value } // SetIndexNum sets the indexNum property value. The indexNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("indexNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_clean_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_clean_post_request_body.go index 305a6783af3..7864fab2eb2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_clean_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_clean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostReques m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_code_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_code_post_request_body.go index a8decc3e268..f4e42621671 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_code_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_code_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequest m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_columns_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_columns_post_request_body.go index 3d2310ce06f..a41329efd94 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_columns_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_columns_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequ return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequ } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestB i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_combin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_combin_post_request_body.go index 156fd8d8855..edbaa093e40 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_combin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_combin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostReque m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_combina_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_combina_post_request_body.go index 9e95cfc1163..2992433dba7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_combina_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_combina_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequ m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_complex_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_complex_post_request_body.go index 8e7822dbcfd..751645595e7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_complex_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_complex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["iNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetINum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetINum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["realNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRealNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRealNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["suffix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSuffix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSuffix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetINum gets the iNum property value. The iNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("iNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRealNum gets the realNum property value. The realNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("realNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSuffix gets the suffix property value. The suffix property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("suffix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequ m.backingStore = value } // SetINum sets the iNum property value. The iNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("iNum", value) if err != nil { panic(err) } } // SetRealNum sets the realNum property value. The realNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("realNum", value) if err != nil { panic(err) } } // SetSuffix sets the suffix property value. The suffix property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("suffix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go index c31387550a3..b6355c1b773 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePost func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePost m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go index c69e5fd821c..ba14fca8f2e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_norm return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_norm func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_norm } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_norm m.backingStore = value } // SetSize sets the size property value. The size property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_normConf i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go index f8439f0fafa..e28bb071800 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tCon return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tCon func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tCon } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tCon m.backingStore = value } // SetSize sets the size property value. The size property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfide i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_convert_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_convert_post_request_body.go index a7c12dd715d..745ab6a623d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_convert_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_convert_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fromUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFromUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFromUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["toUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetToUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetToUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFromUnit gets the fromUnit property value. The fromUnit property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fromUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetToUnit gets the toUnit property value. The toUnit property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("toUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequ m.backingStore = value } // SetFromUnit sets the fromUnit property value. The fromUnit property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fromUnit", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetToUnit sets the toUnit property value. The toUnit property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("toUnit", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cos_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cos_post_request_body.go index e96a70f203d..9de44ea03bf 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cos_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cosh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cosh_post_request_body.go index 6551fc59ded..1e9e389fefc 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cosh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cot_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cot_post_request_body.go index 8c636b11d5f..b959d8c7ec0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cot_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coth_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coth_post_request_body.go index 5961c387dff..7fac768c6ce 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coth_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coth_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_count_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_count_post_request_body.go index daaff7d83fe..49889c5096c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_count_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_count_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostReques m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go index efc92ff3080..f05a6d10721 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPos m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go index ce77c37b40d..4be8a522899 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCount func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCount m.backingStore = value } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlan ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go index ec4f1210387..5ba8d95b8d3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfP return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfP m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go index 68ff199194a..6d3eeefa264 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIf func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIf m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go index 95e5a983ae7..55b2b9334c1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDa return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDa func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDa m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go index 0e3b6b196e5..9157920564d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDay return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDay func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDay m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go index ac6ad47066e..45a0968137b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupD return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupD m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go index ac4230ff02a..8fc89128bd1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdP return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdP m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go index 92014c144b4..fb651cbd353 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumP return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumP m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go index 0bf08994a2d..b8ccba308bb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdP return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdP m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_csc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_csc_post_request_body.go index 79f260235d3..b52e83b71ae 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_csc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_csc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_csch_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_csch_post_request_body.go index 3d3e46bfe01..75ece926b2a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_csch_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_csch_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go index 42122edadde..1ee7de19c84 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtP return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtP m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go index af0b0ea3f8f..9f418e2b3da 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrin return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrin func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrin m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_date_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_date_post_request_body.go index c039a165381..86dbe2f8d38 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_date_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_date_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequest return m.backingStore } // GetDay gets the day property value. The day property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("day") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["day"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDay(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDay(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["year"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYear(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYear(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYear gets the year property value. The year property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("year") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequest m.backingStore = value } // SetDay sets the day property value. The day property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("day", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetYear sets the year property value. The year property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("year", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go index 2af7737907c..2f0fdb201e5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRe return m.backingStore } // GetDateText gets the dateText property value. The dateText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dateText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dateText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDateText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDateText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRe m.backingStore = value } // SetDateText sets the dateText property value. The dateText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dateText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDatevaluePostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_daverage_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_daverage_post_request_body.go index 8fcd5a2bbbe..e1e90fe4b60 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_daverage_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_daverage_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostReq return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostReq m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_day_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_day_post_request_body.go index f5586500225..4d5ea526ce7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_day_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_day_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestB m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_days360_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_days360_post_request_body.go index 73c7b69b2c0..d4c2f4583fd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_days360_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_days360_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequ return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["method"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMethod gets the method property value. The method property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("method") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequ m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetMethod sets the method property value. The method property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("method", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_days_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_days_post_request_body.go index 5434fa40789..19f2349a091 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_days_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequest return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequest m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_db_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_db_post_request_body.go index 6bcadf52e0c..329777f02d8 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_db_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_db_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBo return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBo m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go index 65784f6385e..71d76ac6533 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequest m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcount_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcount_post_request_body.go index e8b672364a7..086505b2432 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcount_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcount_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostReque return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostReque m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go index 408a427ed99..a8dd765b215 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAP return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAP m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ddb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ddb_post_request_body.go index f2513d6a4a8..165756eb357 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ddb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ddb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestB return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestB m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go index 4596152d35f..73b956b0f43 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go index ec8039c76e1..6e11b42d5c3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go index 55a7ac91567..b5424a9e827 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_decimal_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_decimal_post_request_body.go index 07b93b75c7b..d1ef855bbff 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_decimal_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_decimal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequ m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_degrees_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_degrees_post_request_body.go index a002eda901a..980e8e671a5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_degrees_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_degrees_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequ return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequ } } // SetAngle sets the angle property value. The angle property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestB i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_delta_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_delta_post_request_body.go index 7fb069aa71c..f04b9398859 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_delta_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_delta_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostReques m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go index 198d7a70a0a..fafb3ab8025 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dget_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dget_post_request_body.go index e13202599f1..e991ec0273e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dget_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dget_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequest return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequest m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_disc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_disc_post_request_body.go index 1abc659bbb8..d2c09969b91 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_disc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequest return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequest m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmax_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmax_post_request_body.go index 151ca56c295..7fbf574cc7b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmax_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmax_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequest return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequest m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmin_post_request_body.go index 8894857bb90..5ae66381762 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dmin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequest return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequest m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollar_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollar_post_request_body.go index 6a57fe346c1..b021bff6caa 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollar_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostReque return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostReque m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go index 469667a874e..318e753c1c1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fractionalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFractionalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFractionalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFractionalDollar gets the fractionalDollar property value. The fractionalDollar property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fractionalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarD m.backingStore = value } // SetFraction sets the fraction property value. The fraction property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) } } // SetFractionalDollar sets the fractionalDollar property value. The fractionalDollar property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fractionalDollar", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go index a62c5ffe09c..cbef18c6694 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarF return m.backingStore } // GetDecimalDollar gets the decimalDollar property value. The decimalDollar property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarF func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarF m.backingStore = value } // SetDecimalDollar sets the decimalDollar property value. The decimalDollar property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalDollar", value) if err != nil { panic(err) } } // SetFraction sets the fraction property value. The fraction property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go index 5943d748787..80c14f9eed3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostReq return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostReq m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDproductPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go index 09679e99c32..87e9736e081 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPos return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPos m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go index 08cf5dfb6f3..d814b4f10d2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPP return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPP m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dsum_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dsum_post_request_body.go index becdfee3c27..dcf682475f3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dsum_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dsum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequest return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequest m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_duration_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_duration_post_request_body.go index 15cd32f0721..decd9b3f527 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_duration_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_duration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostReq return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostReq m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDurationPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvar_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvar_post_request_body.go index f8ee092a9fb..e256f7ce14b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvar_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequest return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequest m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go index af3f6cfb2e7..435b4176735 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostR return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostR m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go index b9f5c15cdff..0268df90057 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcm func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcm m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_Ce ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_edate_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_edate_post_request_body.go index 573b9306bf9..c97dbf6e342 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_edate_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_edate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostReques m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_effect_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_effect_post_request_body.go index ffa83084180..d5987e9da4c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_effect_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_effect_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nominalRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNominalRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNominalRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNominalRate gets the nominalRate property value. The nominalRate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nominalRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostReque m.backingStore = value } // SetNominalRate sets the nominalRate property value. The nominalRate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nominalRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go index d57afec4868..1f6fc53db8f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthP m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_post_request_body.go index 0ecd194a0f7..c9ea27c71d4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lowerLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLowerLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLowerLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["upperLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetUpperLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetUpperLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLowerLimit gets the lowerLimit property value. The lowerLimit property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lowerLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetUpperLimit gets the upperLimit property value. The upperLimit property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("upperLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestB m.backingStore = value } // SetLowerLimit sets the lowerLimit property value. The lowerLimit property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lowerLimit", value) if err != nil { panic(err) } } // SetUpperLimit sets the upperLimit property value. The upperLimit property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("upperLimit", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go index 92637eb947c..cb5f42c4794 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_ m.backingStore = value } // SetX sets the X property value. The X property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_Prec ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go index bd9d262f313..ab834650fde 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostReq m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go index 186a2a567e1..9c6a021577e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErf func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErf m.backingStore = value } // SetX sets the X property value. The X property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_Pr ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go index 17b69a8d1bb..48a77e3f5d0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError return m.backingStore } // GetErrorVal gets the errorVal property value. The errorVal property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("errorVal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["errorVal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetErrorVal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetErrorVal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError m.backingStore = value } // SetErrorVal sets the errorVal property value. The errorVal property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("errorVal", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsError_typeError_Typ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_even_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_even_post_request_body.go index b197e0ac47a..494a135442f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_even_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_even_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_exact_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_exact_post_request_body.go index dba9e39cdfe..4de8b38fc4d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_exact_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_exact_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText1 gets the text1 property value. The text1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText2 gets the text2 property value. The text2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostReques m.backingStore = value } // SetText1 sets the text1 property value. The text1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text1", value) if err != nil { panic(err) } } // SetText2 sets the text2 property value. The text2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_exp_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_exp_post_request_body.go index bca5d096597..f44ea9911c6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_exp_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_exp_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go index 6c46362c4c7..add2b409306 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lambda"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLambda(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLambda(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLambda gets the lambda property value. The lambda property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lambda") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetLambda sets the lambda property value. The lambda property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lambda", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_Dis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go index 9026191ce1d..8384d3c94ef 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPos return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPos m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go index be5ccdf25d2..a9ce33baa64 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go index cb69163d177..b556095b88d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostR return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostR m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go index 7c6675f29f4..079aa9fe47a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_R return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_R func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_R m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fact_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fact_post_request_body.go index 2c8affd9cfd..6b7b96af5dd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fact_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fact_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go index df377222a43..af34bdcb377 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactD m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoubl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_find_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_find_post_request_body.go index 1bc95c2f4d7..1c044b22f79 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_find_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_find_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequest m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go index 45c285710f3..49a5ad2fdcb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostR m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisher_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisher_post_request_body.go index 988d3d33f9a..c5ee52fbec1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisher_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisher_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostReque m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go index 9a362e5b3d2..edaaca0c77f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisher func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["y"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetY(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetY(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetY gets the y property value. The y property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("y") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisher m.backingStore = value } // SetY sets the y property value. The y property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("y", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fixed_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fixed_post_request_body.go index 05a8f8cb474..7b7a94a5090 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fixed_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fixed_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostReques return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noCommas"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoCommas(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoCommas(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNoCommas gets the noCommas property value. The noCommas property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noCommas") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostReques m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNoCommas sets the noCommas property value. The noCommas property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noCommas", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go index 06dd2a76aa5..ad950e354e5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_Mat ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go index b7487815e57..37a17014da0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFl func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFl m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fv_post_request_body.go index d94a756b922..6c2478e78ab 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBo m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go index b5c7e50f4d8..40910354253 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["principal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPrincipal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPrincipal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["schedule"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSchedule(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSchedule(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPrincipal gets the principal property value. The principal property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("principal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSchedule gets the schedule property value. The schedule property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("schedule") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostR m.backingStore = value } // SetPrincipal sets the principal property value. The principal property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("principal", value) if err != nil { panic(err) } } // SetSchedule sets the schedule property value. The schedule property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("schedule", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsFvschedulePostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go index d786ddbdbe1..d6981f43520 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_Dis i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go index bc118b54f9a..595c9ed0eee 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_ return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_ return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_ } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_ m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvP i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_post_request_body.go index 93aeee5ee31..ffcb72eaedd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gamma_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostReques m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go index bc7d0faac0e..2e2169c0d44 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnP m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go index 372e7da8c00..7db792bf6b0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_precise func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_precise m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGamm ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gauss_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gauss_post_request_body.go index b67225ca3b3..7d3d15c26b9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gauss_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gauss_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostReques m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gcd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gcd_post_request_body.go index 4bc4ab21b85..fcfeac0a229 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gcd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gcd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go index 58e936b5f3b..bdfaf844af1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go index 7d637b325db..9ba341dc979 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["step"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStep(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStep(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStep gets the step property value. The step property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("step") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetStep sets the step property value. The step property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("step", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go index c0c0ee1064e..52dbb0c8d4c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go index 9b1f35a7268..347d3ea54a4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go index 99a5064a3bf..c40f4e32f41 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go index b07727b331a..3891a4a5cce 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go index 605da05eee3..7fddb2218a0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rowIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRowIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRowIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRowIndexNum gets the rowIndexNum property value. The rowIndexNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rowIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequ m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetRowIndexNum sets the rowIndexNum property value. The rowIndexNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rowIndexNum", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hour_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hour_post_request_body.go index 40dbe3fb664..653c634af1e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hour_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hour_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequest m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go index f01ac95369f..33e04e72bd4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["friendlyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFriendlyName(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFriendlyName(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["linkLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLinkLocation(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLinkLocation(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFriendlyName gets the friendlyName property value. The friendlyName property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("friendlyName") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLinkLocation gets the linkLocation property value. The linkLocation property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("linkLocation") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRe m.backingStore = value } // SetFriendlyName sets the friendlyName property value. The friendlyName property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("friendlyName", value) if err != nil { panic(err) } } // SetLinkLocation sets the linkLocation property value. The linkLocation property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("linkLocation", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go index f0f38a790e1..0e8d422e6e6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHyp return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHyp func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberPop"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberPop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberPop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberSample"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberSample(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberSample(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["populationS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPopulationS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPopulationS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sampleS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSampleS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSampleS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberPop gets the numberPop property value. The numberPop property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberPop") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberSample gets the numberSample property value. The numberSample property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberSample") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPopulationS gets the populationS property value. The populationS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("populationS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSampleS gets the sampleS property value. The sampleS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sampleS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHyp m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberPop sets the numberPop property value. The numberPop property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberPop", value) if err != nil { panic(err) } } // SetNumberSample sets the numberSample property value. The numberSample property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberSample", value) if err != nil { panic(err) } } // SetPopulationS sets the populationS property value. The populationS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("populationS", value) if err != nil { panic(err) } } // SetSampleS sets the sampleS property value. The sampleS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sampleS", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_if_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_if_post_request_body.go index ed510615ec5..ec0acc52da0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_if_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logicalTest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogicalTest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogicalTest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfFalse"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfFalse(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfFalse(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfTrue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfTrue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfTrue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogicalTest gets the logicalTest property value. The logicalTest property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logicalTest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfFalse gets the valueIfFalse property value. The valueIfFalse property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfFalse") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfTrue gets the valueIfTrue property value. The valueIfTrue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfTrue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBo m.backingStore = value } // SetLogicalTest sets the logicalTest property value. The logicalTest property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logicalTest", value) if err != nil { panic(err) } } // SetValueIfFalse sets the valueIfFalse property value. The valueIfFalse property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfFalse", value) if err != nil { panic(err) } } // SetValueIfTrue sets the valueIfTrue property value. The valueIfTrue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfTrue", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go index 0bd10882b90..46f01f29749 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go index e213fe144fd..0eab14a2a23 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRe m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImaginaryPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go index 2a164288f93..b54e6f06fe2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArg func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArg m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumen ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go index f48ee3076fe..e351767d98b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImCo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImCo m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjug ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go index 2933495bf23..9a63b2d9a85 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go index b6edea37f99..66d29e30ab5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go index 89d09216b6d..4d3e605bca3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go index f5141a7a8cf..515b4245a92 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go index 3aebf3265f8..b80d8b7b5f3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go index 1d4a7dab246..d1bd622d158 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostR m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go index 4e540a7a309..3e6c95794ae 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go index 5a389f1a95c..7cf7c3ba52e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostReq m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go index adf4ad7a570..bc44dd38c11 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10P func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10P m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go index cc6447e2944..749d28189ea 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2Pos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2Pos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go index ae31da8d797..6ae6cfe3c13 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerP m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go index cd5e2bccd33..fb50c0c05e8 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProd func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProd m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImproductImProductP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go index 26b99f4c2b8..fcbbda9ab91 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go index 2f0ec4a5004..4c029ac7d32 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go index f08442faf93..923eba765f9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go index 1021ed07fba..6818cb015ed 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go index b9b518b054c..b09f672c0ed 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go index f9e34e76c8e..d87a164379e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPos m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go index 4879d16d62e..1efd9694bf7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostR m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go index 628dddc1642..e5980efc9cb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go index 6c6ec9ecfa3..871cd043b45 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostR m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_int_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_int_post_request_body.go index da7d64e192b..490ddfded32 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_int_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_int_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go index f55d4905ee8..45007920398 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRateP return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRateP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRateP m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go index 2674cfe37c3..497d139c780 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequest m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_irr_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_irr_post_request_body.go index 2933a2338c4..7de2533ba70 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_irr_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_irr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestB m.backingStore = value } // SetGuess sets the guess property value. The guess property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go index 22c6af0fe0b..5c322cfb0a8 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostR m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go index ced60c804df..b98fd57de0b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorP m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go index d6e2401b40f..db2b5ca2e49 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go index 7f8d35c1766..0ad58a61478 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsForm func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsForm m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go index 4de54f5c4ae..adde16baec1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogi func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogi m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go index 4a90da3a119..337109acd5e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostReq m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go index dfcccc7e80b..1ffafad8a3a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonT func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonT m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go index c06693d6e49..dfbe6b9fb06 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumbe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumbe m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go index 0d8f1acd09b..43c1d5e6b68 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_ m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_Ceil ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go index def5dcd77c1..79901ba96cf 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go index ce117615cae..3b87e092e6e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWe return m.backingStore } // GetDate gets the date property value. The date property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("date") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["date"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWe m.backingStore = value } // SetDate sets the date property value. The date property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("date", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNu ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go index 091312f5784..95aae52a7ce 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostReques m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isref_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isref_post_request_body.go index 4566ae51eb3..363a7f4194b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_isref_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_isref_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostReques m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go index 4926cd75910..af62866f941 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPos m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_kurt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_kurt_post_request_body.go index 0b0470ea8a5..bb35e431529 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_kurt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_kurt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequest m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_large_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_large_post_request_body.go index 1b993a424bf..2588a38fd86 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_large_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_large_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostReques return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostReques } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostReques m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBod i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lcm_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lcm_post_request_body.go index 2143039b27c..f8cb38963e2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lcm_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lcm_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_left_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_left_post_request_body.go index 4f3b696a445..0cd56ccaa17 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_left_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_left_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequest m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_leftb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_leftb_post_request_body.go index 4b260cdb836..1753a0535e5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_leftb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_leftb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostReques m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_len_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_len_post_request_body.go index 7d53aaa7cfb..7a9facad88b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_len_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_len_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestB m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lenb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lenb_post_request_body.go index cc4355c8363..10db4da3482 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lenb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lenb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequest m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ln_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ln_post_request_body.go index af7c9bd1d02..febeef39938 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ln_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBo m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_log10_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_log10_post_request_body.go index bd89041e863..f5d447f2ac0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_log10_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_log10_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_log_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_log_post_request_body.go index 13cacb229d5..19e1c8512ec 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_log_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_log_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestB return m.backingStore } // GetBase gets the base property value. The base property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("base") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["base"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestB m.backingStore = value } // SetBase sets the base property value. The base property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("base", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go index a0c50345d81..5efead30910 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLog return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLog func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLog m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go index 5d6c1bb1772..aa2696376ea 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogN func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogN m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lookup_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lookup_post_request_body.go index a94436a59f3..2ee2938b25e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lookup_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["resultVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetResultVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetResultVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupVector gets the lookupVector property value. The lookupVector property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetResultVector gets the resultVector property value. The resultVector property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("resultVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostReque m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetLookupVector sets the lookupVector property value. The lookupVector property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupVector", value) if err != nil { panic(err) } } // SetResultVector sets the resultVector property value. The resultVector property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("resultVector", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lower_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lower_post_request_body.go index 8913966fc42..19c7a7f070a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_lower_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_lower_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostReques m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_match_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_match_post_request_body.go index c4219b3dbb8..901b73fe183 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_match_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_match_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["matchType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMatchType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMatchType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupArray gets the lookupArray property value. The lookupArray property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMatchType gets the matchType property value. The matchType property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("matchType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostReques m.backingStore = value } // SetLookupArray sets the lookupArray property value. The lookupArray property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupArray", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetMatchType sets the matchType property value. The matchType property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("matchType", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_max_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_max_post_request_body.go index 5332c46eb76..d2ec3b21995 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_max_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_max_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go index ccc276952fa..0945ff509e8 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostReq m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mduration_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mduration_post_request_body.go index 454969ec63d..7b09d61b764 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mduration_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mduration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRe return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRe m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMdurationPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_median_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_median_post_request_body.go index 646a7e09e3a..31ea40ef97e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_median_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_median_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostReque m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mid_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mid_post_request_body.go index 8b21514211f..f279ab511d3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mid_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mid_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestB m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_midb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_midb_post_request_body.go index 09a3ccc6e65..e51bd469a88 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_midb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_midb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequest m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_min_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_min_post_request_body.go index 553dc391a9e..2b2b6aa8302 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_min_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_min_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go index 46266e3a407..9a227dab312 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostReq m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_minute_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_minute_post_request_body.go index 6833ad38f89..9eebc13a64a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_minute_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_minute_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostReque m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mirr_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mirr_post_request_body.go index 7fe6685d4ba..fcb948e1675 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mirr_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mirr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["financeRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFinanceRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFinanceRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["reinvestRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReinvestRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReinvestRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFinanceRate gets the financeRate property value. The financeRate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("financeRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetReinvestRate gets the reinvestRate property value. The reinvestRate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reinvestRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequest m.backingStore = value } // SetFinanceRate sets the financeRate property value. The financeRate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("financeRate", value) if err != nil { panic(err) } } // SetReinvestRate sets the reinvestRate property value. The reinvestRate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reinvestRate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mod_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mod_post_request_body.go index 6276786aa92..e9fc3119479 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mod_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mod_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestB return m.backingStore } // GetDivisor gets the divisor property value. The divisor property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("divisor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["divisor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDivisor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDivisor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestB m.backingStore = value } // SetDivisor sets the divisor property value. The divisor property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("divisor", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsModPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_month_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_month_post_request_body.go index 4f1a0b6f76b..d5bde1133e4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_month_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_month_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostReques m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mround_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mround_post_request_body.go index 4f352e59114..24c5ccf28c3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_mround_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_mround_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["multiple"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMultiple(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMultiple(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMultiple gets the multiple property value. The multiple property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("multiple") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostReque m.backingStore = value } // SetMultiple sets the multiple property value. The multiple property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("multiple", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go index 71a34714a36..199e9eceef2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMult func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMult m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNom ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_n_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_n_post_request_body.go index 7b5da7d1c7e..2209a0d19f7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_n_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_n_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBod func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBod m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNPostRequestBodyabl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go index 877154809cb..5c79718b302 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNe return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberF"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberF(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberF(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberF gets the numberF property value. The numberF property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberF") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNe m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberF sets the numberF property value. The numberF property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberF", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBin ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go index e16081dacc5..9f8adb45d0b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_int return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_int func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_int m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNet ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go index 458425478dc..aa624708766 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetw return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetw func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetw m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkD ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_nominal_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_nominal_post_request_body.go index 45fc7b71380..734d75644cd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_nominal_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_nominal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequ return m.backingStore } // GetEffectRate gets the effectRate property value. The effectRate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("effectRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["effectRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEffectRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEffectRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequ m.backingStore = value } // SetEffectRate sets the effectRate property value. The effectRate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("effectRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go index 238825522b1..effb608025b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_D return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_D func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_D m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go index 1334cbf783f..9d5c76b6d99 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_In func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_In m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go index 06d55bd6139..14cd970401f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["z"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetZ(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetZ(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetZ gets the z property value. The z property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("z") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetZ sets the z property value. The z property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("z", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go index 5b052d6bf51..5b633611e63 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_ m.backingStore = value } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_In ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_not_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_not_post_request_body.go index e3e35762725..fc230ddd7ff 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_not_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_not_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logical"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogical(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogical(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogical gets the logical property value. The logical property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logical") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestB m.backingStore = value } // SetLogical sets the logical property value. The logical property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logical", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_nper_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_nper_post_request_body.go index bbb35d75e1c..455c13b10a3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_nper_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_nper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequest m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_npv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_npv_post_request_body.go index c7e775222a3..a3780136a9c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_npv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_npv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestB m.backingStore = value } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go index a319cad6833..d1d224a6c35 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumb return m.backingStore } // GetDecimalSeparator gets the decimalSeparator property value. The decimalSeparator property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumb func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["groupSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGroupSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGroupSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGroupSeparator gets the groupSeparator property value. The groupSeparator property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("groupSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumb m.backingStore = value } // SetDecimalSeparator sets the decimalSeparator property value. The decimalSeparator property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalSeparator", value) if err != nil { panic(err) } } // SetGroupSeparator sets the groupSeparator property value. The groupSeparator property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("groupSeparator", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberVa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go index 7a989c322d5..9d9c065dfe5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go index e9a12a90d4b..232531564b9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go index 57da0daad14..3bd7073c7e2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_odd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_odd_post_request_body.go index 69ed8c10b17..94a1e309da4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_odd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_odd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go index 9db358ead2d..18dd8fd3327 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPr return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPr func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPr m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPriceP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go index 138609762e6..8e951ddc618 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYi return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYi func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYi m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go index 2b29383f728..cf18311a342 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPr return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPr func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPr m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPriceP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go index 41c4a4ae9d0..81e391c1594 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYi return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYi func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYi m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_or_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_or_post_request_body.go index 0557709f2e5..7a1945167ac 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_or_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_or_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBo m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pduration_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pduration_post_request_body.go index eff21c4c72e..80733a55572 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pduration_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pduration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRe m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPdurationPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go index c5bf9732981..3ed9c1fad6e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excP return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excP } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excP m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_excPerce i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go index 822c94f3a3e..eec978d8b95 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incP return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incP } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incP m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentile_incPerce i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go index cd83894476d..0138b6a55d5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_exc return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_exc func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_exc } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_exc m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPerc i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go index 153bb6596be..ddb4573eaf3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_inc return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_inc func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_inc } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_inc m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPerc i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_permut_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_permut_post_request_body.go index e8295220070..66f804d3884 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_permut_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_permut_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostReque m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go index a62159bfd45..150c8756b0e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPermutationaPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_phi_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_phi_post_request_body.go index ed78ed3363f..4b2d6a90456 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_phi_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_phi_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestB m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pmt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pmt_post_request_body.go index 217bbff5255..fb3164bdb6d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pmt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestB m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go index 2e86188fb2b..edebf2c9535 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoi return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoi func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoi m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_power_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_power_post_request_body.go index 76a18a98aed..eaf61bf572a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_power_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_power_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["power"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPower(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPower(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPower gets the power property value. The power property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("power") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPower sets the power property value. The power property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("power", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go index 4dad7fe7021..f484a4d79ec 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequest m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_price_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_price_post_request_body.go index 3784dded5aa..baec273c1b6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_price_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostReques return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostReques m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go index d859d95c769..4d5ddfce5b6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceD return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceD m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go index ccb6981dd3a..09b92bc18fc 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMa return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMa func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMa m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_product_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_product_post_request_body.go index 3a81349b865..ce88504750e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_product_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_product_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequ m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsProductPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_proper_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_proper_post_request_body.go index f9cf9e6a102..748e042fe08 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_proper_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_proper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostReque m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pv_post_request_body.go index ef68b695400..9de11d35692 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_pv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_pv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBo func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBo m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBodyab ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go index 051ebc41ab2..913ed74aa7a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQua return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQua func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQua } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQua m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartil i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go index a6976a361e0..fe5dad589b7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQua return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQua func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQua } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQua m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartil i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quotient_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quotient_post_request_body.go index 0883800f724..9ebcbc00d5b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_quotient_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_quotient_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostReq return m.backingStore } // GetDenominator gets the denominator property value. The denominator property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("denominator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["denominator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDenominator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDenominator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numerator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumerator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumerator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumerator gets the numerator property value. The numerator property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numerator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostReq m.backingStore = value } // SetDenominator sets the denominator property value. The denominator property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("denominator", value) if err != nil { panic(err) } } // SetNumerator sets the numerator property value. The numerator property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numerator", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_radians_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_radians_post_request_body.go index c12765dced2..d7faae58f9d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_radians_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_radians_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequ return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequ } } // SetAngle sets the angle property value. The angle property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestB i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go index d782a42f778..5756fc27c96 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRand return m.backingStore } // GetBottom gets the bottom property value. The bottom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("bottom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRand func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["bottom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBottom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBottom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTop gets the top property value. The top property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("top") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRand m.backingStore = value } // SetBottom sets the bottom property value. The bottom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("bottom", value) if err != nil { panic(err) } } // SetTop sets the top property value. The top property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("top", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetw ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go index 57a4b74f500..381a6c7d9c9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_Av func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_Av m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go index 91cbe4577be..0c801a6c07d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rate_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rate_post_request_body.go index ff7e18dd7d0..dfcac72ce0e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rate_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequest m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_received_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_received_post_request_body.go index 788f74cda20..1a99b577ee1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_received_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_received_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostReq return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostReq m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_replace_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_replace_post_request_body.go index 53e64b4e117..cf9731fa4c1 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_replace_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_replace_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequ m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go index 3bd7d197810..6154d03f9de 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplace func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplace m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rept_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rept_post_request_body.go index 4e0cf20cfb3..92676743b0b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rept_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rept_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberTimes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberTimes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberTimes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberTimes gets the numberTimes property value. The numberTimes property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberTimes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequest m.backingStore = value } // SetNumberTimes sets the numberTimes property value. The numberTimes property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberTimes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_right_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_right_post_request_body.go index db11fa2e17c..477453463c6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_right_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_right_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostReques m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rightb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rightb_post_request_body.go index 281aba602c3..c2eea468469 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rightb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rightb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostReque m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_roman_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_roman_post_request_body.go index 1d859f5a191..26dd54b8f33 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_roman_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_roman_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["form"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetForm(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetForm(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetForm gets the form property value. The form property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("form") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostReques m.backingStore = value } // SetForm sets the form property value. The form property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("form", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_round_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_round_post_request_body.go index abe81fa0e1f..46a2606f900 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_round_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_round_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go index e788ce7fcdf..a0759a9256e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundD m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go index 1cd8856ca98..9114c5db9ff 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rows_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rows_post_request_body.go index 5d9fe63bbd3..7ed6fba12da 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rows_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rows_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequest return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequest } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rri_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rri_post_request_body.go index ba8c1875208..f273a0ca60a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_rri_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_rri_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestB m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sec_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sec_post_request_body.go index ca66b7fae87..32a054f48b2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sec_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sech_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sech_post_request_body.go index d0cbc6f0b1c..0290804a433 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sech_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sech_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_second_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_second_post_request_body.go index c15f4d398ff..53af96aa576 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_second_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_second_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostReque m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go index 6fd8647cf5b..fc7227c192e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeries return m.backingStore } // GetCoefficients gets the coefficients property value. The coefficients property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coefficients") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeries func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["coefficients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoefficients(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoefficients(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["m"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetM(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetM(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetM gets the m property value. The m property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("m") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeries m.backingStore = value } // SetCoefficients sets the coefficients property value. The coefficients property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coefficients", value) if err != nil { panic(err) } } // SetM sets the m property value. The m property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("m", value) if err != nil { panic(err) } } // SetN sets the n property value. The n property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheet_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheet_post_request_body.go index 112625b929e..7448ed8cc5f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheet_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheet_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostReques m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheets_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheets_post_request_body.go index caa2826cf4d..1b543487abb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheets_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sheets_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostReque m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sign_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sign_post_request_body.go index 852e9910a1f..d18ab58da44 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sign_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sign_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sin_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sin_post_request_body.go index 27851d51046..ec603bd6e1a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sin_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sinh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sinh_post_request_body.go index 208d8030512..812ed1a9c2e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sinh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go index c9c4ed818df..d650f8836f3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostReque func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostReque m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_post_request_body.go index ce16a9a82a4..641f5ce3935 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_skew_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequest m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sln_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sln_post_request_body.go index b79c622e794..87d1462e223 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sln_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestB return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestB m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_small_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_small_post_request_body.go index 3d35f17ef13..a92bde7e6ac 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_small_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_small_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostReques return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostReques } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostReques m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBod i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go index 811314d75af..c86708edd82 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go index 180d9873c1d..a1327028051 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_standardize_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_standardize_post_request_body.go index c3e482022ea..c3cb473ea57 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_standardize_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_standardize_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePost func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePost m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go index 589b74ca998..68e0dbbae24 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go index 9d878b5dede..f0e95a700a2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go index ccbd42ebe9d..cee2546ef70 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPos m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go index 7df7d32150c..2e2e8ffd4db 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_substitute_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_substitute_post_request_body.go index 685820805ca..7765477a3ca 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_substitute_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_substitute_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["instanceNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInstanceNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInstanceNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInstanceNum gets the instanceNum property value. The instanceNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("instanceNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostR m.backingStore = value } // SetInstanceNum sets the instanceNum property value. The instanceNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("instanceNum", value) if err != nil { panic(err) } } // SetNewText sets the newText property value. The newText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubstitutePostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go index 4ba5b3f0410..0fb28263e9a 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["functionNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFunctionNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFunctionNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFunctionNum gets the functionNum property value. The functionNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("functionNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostReq m.backingStore = value } // SetFunctionNum sets the functionNum property value. The functionNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("functionNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sum_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sum_post_request_body.go index ec2e2048d14..0800ae473e9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sum_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go index 50868221417..62654e68ff8 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostR return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostR m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) } } // SetSumRange sets the sumRange property value. The sumRange property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go index 227fe206230..45fc4875994 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPos m.backingStore = value } // SetSumRange sets the sumRange property value. The sumRange property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go index 59a461bf941..d6664b33171 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_syd_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_syd_post_request_body.go index 7bc44549144..38b6f1a80fe 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_syd_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_syd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestB return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestB m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go index 4637a4ac901..fa327c05efc 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go index f7197258b41..ac19cc489ed 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go index 781bef8173b..7a97cc5cd3f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPos return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPos m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go index b07f463e37e..136025e08dc 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2 return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2 func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2 m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go index 3c75b443f27..f79bbad624c 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostR return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostR m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_post_request_body.go index 688aa2f5f20..adc05335a6b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBod func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBod m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTPostRequestBodyabl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tan_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tan_post_request_body.go index b16a6aaa7e6..0538d882965 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tan_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tanh_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tanh_post_request_body.go index 35524228fc9..a61eea0ea5d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tanh_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tanh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequest m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go index 2f2313dd1a3..9b7bb2be09d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqP return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqP m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go index 056070bff46..a63c88fbff3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbill return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbill func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbill m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPric ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go index c4bb246f90d..505b96fa5c9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbill func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbill m.backingStore = value } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYiel ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_text_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_text_post_request_body.go index a0f3ccc9e90..4a517e2db4d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_text_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["formatText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormatText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFormatText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFormatText gets the formatText property value. The formatText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formatText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequest m.backingStore = value } // SetFormatText sets the formatText property value. The formatText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formatText", value) if err != nil { panic(err) } } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_time_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_time_post_request_body.go index 5b6a934e30f..d3d71701778 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_time_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_time_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["hour"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHour(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHour(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["minute"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinute(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinute(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["second"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSecond(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSecond(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHour gets the hour property value. The hour property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("hour") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMinute gets the minute property value. The minute property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minute") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSecond gets the second property value. The second property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("second") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequest m.backingStore = value } // SetHour sets the hour property value. The hour property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("hour", value) if err != nil { panic(err) } } // SetMinute sets the minute property value. The minute property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minute", value) if err != nil { panic(err) } } // SetSecond sets the second property value. The second property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("second", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go index cf50d71eb48..30c91711d70 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRe func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["timeText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTimeText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTimeText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTimeText gets the timeText property value. The timeText property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("timeText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRe m.backingStore = value } // SetTimeText sets the timeText property value. The timeText property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("timeText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTimevaluePostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trim_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trim_post_request_body.go index 3376e14227f..d31f39ece6b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trim_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trim_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequest m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go index ddd56219fba..bdb0f4af85f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMea return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMea func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["percent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPercent(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPercent(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPercent gets the percent property value. The percent property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("percent") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMea } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMea m.backingStore = value } // SetPercent sets the percent property value. The percent property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("percent", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPos i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trunc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trunc_post_request_body.go index becab4e03aa..76e9ad33978 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_trunc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_trunc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostReques m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_type_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_type_post_request_body.go index 9b291a9ca68..b56b75e4745 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_type_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_type_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequest m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_unichar_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_unichar_post_request_body.go index dda56572ed9..8e7f1ee0af0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_unichar_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_unichar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequ m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_unicode_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_unicode_post_request_body.go index c9f49232771..5f373feb4b2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_unicode_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_unicode_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequ m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_upper_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_upper_post_request_body.go index 5811e5d2d88..eea19bec6d7 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_upper_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_upper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostReques m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go index 200aaac2ddb..6f896fe2523 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostReq return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostReq m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_value_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_value_post_request_body.go index afe680e3ef1..1eecfa72f1b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_value_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_value_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostReques m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go index 4e24edc2e98..29603c2b201 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go index 4427c04e9ff..a3d99c6e676 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go index 12abdc2cc6b..f0434093701 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostReq func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostReq m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go index 54a5b85e32d..ee53b7c5560 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostR func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vdb_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vdb_post_request_body.go index d9f3799d40d..f344510d22e 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vdb_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vdb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestB return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noSwitch"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoSwitch(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoSwitch(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNoSwitch gets the noSwitch property value. The noSwitch property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noSwitch") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestB m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetNoSwitch sets the noSwitch property value. The noSwitch property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noSwitch", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go index 33cda2676f9..c5bedefe80d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequ return m.backingStore } // GetColIndexNum gets the colIndexNum property value. The colIndexNum property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("colIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["colIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetColIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetColIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequ m.backingStore = value } // SetColIndexNum sets the colIndexNum property value. The colIndexNum property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("colIndexNum", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weekday_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weekday_post_request_body.go index 4f777821b32..abc39d0237b 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weekday_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weekday_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequ m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestB ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go index 4265e26b5f2..71a91939e76 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumP m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go index 8fed99a89a6..276d3c54519 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWei return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWei return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWei func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWei } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWei m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go index aebec5c2a76..81f9dc7c015 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWor return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWor func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWor m.backingStore = value } // SetDays sets the days property value. The days property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go index 9f9ce761564..bb24a9708e9 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayP return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayP func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayP m.backingStore = value } // SetDays sets the days property value. The days property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xirr_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xirr_post_request_body.go index 5b7620df43d..3d2177de8ef 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xirr_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xirr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequest return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequest m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go index 1c316e23c9f..993276ef0f4 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequest return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequest m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xor_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xor_post_request_body.go index 6798eac13d0..bcd70cf0520 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_xor_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_xor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestB func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestB m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_year_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_year_post_request_body.go index bfd01bd96e8..09b6c67d942 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_year_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_year_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequest func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequest m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go index da51eb86b82..2d29ed6c8a0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFra return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFra func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFra m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yield_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yield_post_request_body.go index cd9993d385f..32402a25aeb 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yield_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostReques return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostReques func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostReques m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBod ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go index 71f1e42f381..6a6f41d9dd0 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldD return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldD func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldD m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go index 805d9edddc7..21a4a44f736 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMa return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMa func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMa m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go index 85fe0d9be6d..0a234fb263d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPos return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPos func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sigma"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSigma(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSigma(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSigma gets the sigma property value. The sigma property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sigma") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPos } } // SetArray sets the array property value. The array property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPos m.backingStore = value } // SetSigma sets the sigma property value. The sigma property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sigma", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageContainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostReq i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_names_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_names_add_post_request_body.go index f2847cc9da6..fee094542f5 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_names_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_names_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) } } // SetReference sets the reference property value. The reference property -func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookNamesAddPostRequestBodyable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_operations_request_builder.go b/storage/filestorage_containers_item_drive_items_item_workbook_operations_request_builder.go index d51c3253500..0e45fb3a629 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_operations_request_builder.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_operations_request_builder.go @@ -13,14 +13,22 @@ type FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilder str } // FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetQueryParameters the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. type FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` } // FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration struct { @@ -53,7 +61,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilder // NewFilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilder and sets the default values. func NewFilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilder) { m := &FilestorageContainersItemDriveItemsItemWorkbookOperationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24expand,%24orderby,%24search,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go index 086799f8ac6..c723ec87c92 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPost return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPost return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPost } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequ GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index 2dfdcd9e4d3..4ddd8073486 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFil func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFil m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterA ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go index 284a1ed74ab..049be70ac7f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostReq return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostReq return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostReq } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequest i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go index d7531655a77..9fd2950e13d 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddP return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -90,14 +89,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddP return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -160,7 +159,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddP } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -179,10 +178,10 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostR i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetTypeEscaped()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetTypeEscaped(value *string)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go index 6b5a440dc9d..b2eb6b72fef 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetd i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go index 1980ab24747..5eff7bff3a2 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetp ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go index 5f4f7b93dab..0c7971043a3 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwi i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go index 9bd4f6b863c..2558156fee6 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwi ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go index d6416d674f8..8a98ff05f95 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwith i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go index 10d046eee1e..64894974704 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItem m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwith ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go index 12fa8079e03..d2c0b1b4b11 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPo return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPo return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPo } } // SetReference sets the reference property value. The reference property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRe GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go index cfaad9e741d..dd25241da53 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColu GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index 9fc2f65861a..e1d6358b17f 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColu ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go index 77dc80420a5..4185c127bdd 100644 --- a/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go +++ b/storage/filestorage_containers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItem } } // SetValues sets the values property value. The values property -func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageContainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRows i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_count_request_builder.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..a66bd5da982 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_request_body.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..294292f491a --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody()(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_response.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..4601c1db469 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse()(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_request_builder.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..ca90a96379f --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_response.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..cd3731dc7fa --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable instead. +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse struct { + FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse()(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse{ + FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse: *NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable instead. +type FilestorageContainersItemDriveListItemsItemPermissionsItemGrantResponseable interface { + FilestorageContainersItemDriveListItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..b9ba58a185b --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..b5577a203d5 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_permission_item_request_builder.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..5c1f955ade1 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from storage +type FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*FilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*FilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_items_item_permissions_request_builder.go b/storage/filestorage_containers_item_drive_list_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..73f1bcbac59 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from storage +type FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters +} +// FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*FilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewFilestorageContainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) { + m := &FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder instantiates a new FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) Count()(*FilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from storage +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_items_list_item_item_request_builder.go b/storage/filestorage_containers_item_drive_list_items_list_item_item_request_builder.go index dddbbba3c67..f5e429860dd 100644 --- a/storage/filestorage_containers_item_drive_list_items_list_item_item_request_builder.go +++ b/storage/filestorage_containers_item_drive_list_items_list_item_item_request_builder.go @@ -155,6 +155,11 @@ func (m *FilestorageContainersItemDriveListItemsListItemItemRequestBuilder) Patc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListItemsListItemItemRequestBuilder) Permissions()(*FilestorageContainersItemDriveListItemsItemPermissionsRequestBuilder) { + return NewFilestorageContainersItemDriveListItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property items for storage // returns a *RequestInformation when successful func (m *FilestorageContainersItemDriveListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/storage/filestorage_containers_item_drive_list_items_request_builder.go b/storage/filestorage_containers_item_drive_list_items_request_builder.go index a005558a812..20b7f15945a 100644 --- a/storage/filestorage_containers_item_drive_list_items_request_builder.go +++ b/storage/filestorage_containers_item_drive_list_items_request_builder.go @@ -13,6 +13,8 @@ type FilestorageContainersItemDriveListItemsRequestBuilder struct { } // FilestorageContainersItemDriveListItemsRequestBuilderGetQueryParameters all items contained in the list. type FilestorageContainersItemDriveListItemsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values @@ -59,7 +61,7 @@ func (m *FilestorageContainersItemDriveListItemsRequestBuilder) ByListItemId(lis // NewFilestorageContainersItemDriveListItemsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListItemsRequestBuilder and sets the default values. func NewFilestorageContainersItemDriveListItemsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListItemsRequestBuilder) { m := &FilestorageContainersItemDriveListItemsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/storage/filestorage_containers_item_drive_list_permissions_count_request_builder.go b/storage/filestorage_containers_item_drive_list_permissions_count_request_builder.go new file mode 100644 index 00000000000..c6bea013fe8 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type FilestorageContainersItemDriveListPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters +} +// NewFilestorageContainersItemDriveListPermissionsCountRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsCountRequestBuilder) { + m := &FilestorageContainersItemDriveListPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListPermissionsCountRequestBuilder instantiates a new FilestorageContainersItemDriveListPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListPermissionsCountRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListPermissionsCountRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_request_body.go b/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..22223a8ecb8 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody instantiates a new FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody()(*FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) { + m := &FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_response.go b/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..8892d36a210 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type FilestorageContainersItemDriveListPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewFilestorageContainersItemDriveListPermissionsItemGrantPostResponse instantiates a new FilestorageContainersItemDriveListPermissionsItemGrantPostResponse and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemGrantPostResponse()(*FilestorageContainersItemDriveListPermissionsItemGrantPostResponse) { + m := &FilestorageContainersItemDriveListPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFilestorageContainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FilestorageContainersItemDriveListPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_grant_request_builder.go b/storage/filestorage_containers_item_drive_list_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..ed824197adc --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) { + m := &FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder instantiates a new FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a FilestorageContainersItemDriveListPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageContainersItemDriveListPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageContainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageContainersItemDriveListPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageContainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageContainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_grant_response.go b/storage/filestorage_containers_item_drive_list_permissions_item_grant_response.go new file mode 100644 index 00000000000..2531c682d81 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable instead. +type FilestorageContainersItemDriveListPermissionsItemGrantResponse struct { + FilestorageContainersItemDriveListPermissionsItemGrantPostResponse +} +// NewFilestorageContainersItemDriveListPermissionsItemGrantResponse instantiates a new FilestorageContainersItemDriveListPermissionsItemGrantResponse and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemGrantResponse()(*FilestorageContainersItemDriveListPermissionsItemGrantResponse) { + m := &FilestorageContainersItemDriveListPermissionsItemGrantResponse{ + FilestorageContainersItemDriveListPermissionsItemGrantPostResponse: *NewFilestorageContainersItemDriveListPermissionsItemGrantPostResponse(), + } + return m +} +// CreateFilestorageContainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable instead. +type FilestorageContainersItemDriveListPermissionsItemGrantResponseable interface { + FilestorageContainersItemDriveListPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go b/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..db2c0d58260 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go b/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..7175c290e91 --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_permission_item_request_builder.go b/storage/filestorage_containers_item_drive_list_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..a24fa85126e --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from storage +type FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) { + m := &FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder instantiates a new FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) Grant()(*FilestorageContainersItemDriveListPermissionsItemGrantRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) RevokeGrants()(*FilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_permissions_request_builder.go b/storage/filestorage_containers_item_drive_list_permissions_request_builder.go new file mode 100644 index 00000000000..b59a53586db --- /dev/null +++ b/storage/filestorage_containers_item_drive_list_permissions_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageContainersItemDriveListPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type FilestorageContainersItemDriveListPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageContainersItemDriveListPermissionsRequestBuilderGetQueryParameters get permissions from storage +type FilestorageContainersItemDriveListPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FilestorageContainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageContainersItemDriveListPermissionsRequestBuilderGetQueryParameters +} +// FilestorageContainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageContainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) ByPermissionId(permissionId string)(*FilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewFilestorageContainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFilestorageContainersItemDriveListPermissionsRequestBuilderInternal instantiates a new FilestorageContainersItemDriveListPermissionsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsRequestBuilder) { + m := &FilestorageContainersItemDriveListPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFilestorageContainersItemDriveListPermissionsRequestBuilder instantiates a new FilestorageContainersItemDriveListPermissionsRequestBuilder and sets the default values. +func NewFilestorageContainersItemDriveListPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageContainersItemDriveListPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageContainersItemDriveListPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FilestorageContainersItemDriveListPermissionsCountRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) Count()(*FilestorageContainersItemDriveListPermissionsCountRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from storage +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageContainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageContainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageContainersItemDriveListPermissionsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListPermissionsRequestBuilder) WithUrl(rawUrl string)(*FilestorageContainersItemDriveListPermissionsRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_containers_item_drive_list_request_builder.go b/storage/filestorage_containers_item_drive_list_request_builder.go index 5bce7d3b177..33ba5fbdc81 100644 --- a/storage/filestorage_containers_item_drive_list_request_builder.go +++ b/storage/filestorage_containers_item_drive_list_request_builder.go @@ -150,6 +150,11 @@ func (m *FilestorageContainersItemDriveListRequestBuilder) Patch(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *FilestorageContainersItemDriveListPermissionsRequestBuilder when successful +func (m *FilestorageContainersItemDriveListRequestBuilder) Permissions()(*FilestorageContainersItemDriveListPermissionsRequestBuilder) { + return NewFilestorageContainersItemDriveListPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *FilestorageContainersItemDriveListSubscriptionsRequestBuilder when successful func (m *FilestorageContainersItemDriveListRequestBuilder) Subscriptions()(*FilestorageContainersItemDriveListSubscriptionsRequestBuilder) { diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_copy_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_copy_post_request_body.go index 96b2a3af063..3b51cb9b7e0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_copy_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_copy_post_request_body.go @@ -41,10 +41,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) GetA func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetChildrenOnly gets the childrenOnly property value. The childrenOnly property +// returns a *bool when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) GetChildrenOnly()(*bool) { + val, err := m.GetBackingStore().Get("childrenOnly") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["childrenOnly"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetChildrenOnly(val) + } + return nil + } res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -93,6 +115,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) GetP } // Serialize serializes information the current object func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("childrenOnly", m.GetChildrenOnly()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("name", m.GetName()) if err != nil { @@ -124,6 +152,13 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) SetA func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetChildrenOnly sets the childrenOnly property value. The childrenOnly property +func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) SetChildrenOnly(value *bool)() { + err := m.GetBackingStore().Set("childrenOnly", value) + if err != nil { + panic(err) + } +} // SetName sets the name property value. The name property func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBody) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) @@ -143,9 +178,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBodyable inter ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetChildrenOnly()(*bool) GetName()(*string) GetParentReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetChildrenOnly(value *bool)() SetName(value *string)() SetParentReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemReferenceable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_copy_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_items_item_copy_request_builder.go index 135e37ab3b2..3808cc87083 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_copy_request_builder.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_copy_request_builder.go @@ -31,7 +31,7 @@ func NewFilestorageDeletedcontainersItemDriveItemsItemCopyRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewFilestorageDeletedcontainersItemDriveItemsItemCopyRequestBuilderInternal(urlParams, requestAdapter) } -// Post asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// Post asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToPostRequestInformation asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. +// ToPostRequestInformation asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. // returns a *RequestInformation when successful func (m *FilestorageDeletedcontainersItemDriveItemsItemCopyRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageDeletedcontainersItemDriveItemsItemCopyPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveItemsItemCopyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_abs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_abs_post_request_body.go index 815e9e856c7..f75d57a16c0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_abs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_abs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAbsPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go index 6513b18d4c1..bdc585c5af6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrint_accr_int_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintA return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCalcMethod gets the calcMethod property value. The calcMethod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("calcMethod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,156 +69,156 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["calcMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCalcMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCalcMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstInterest gets the firstInterest property value. The firstInterest property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintA m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCalcMethod sets the calcMethod property value. The calcMethod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("calcMethod", value) if err != nil { panic(err) } } // SetFirstInterest sets the firstInterest property value. The firstInterest property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstInterest", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrIntPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintAccrI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCalcMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCalcMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCalcMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCalcMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go index f6f13630ad1..29217bba454 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_accrintm_accr_int_m_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintm return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["par"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPar gets the par property value. The par property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("par") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintm m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetPar sets the par property value. The par property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("par", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccrIntMPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAccrintmAccr ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acos_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acos_post_request_body.go index da16da45ab7..2233c9096f3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acos_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcosPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acosh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acosh_post_request_body.go index ba8827d2e1b..d0943839f43 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acosh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcoshPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acot_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acot_post_request_body.go index adb6a82530d..586f19b9b03 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acot_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcotPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acoth_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acoth_post_request_body.go index e89d349bd0c..6d65810e39f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acoth_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_acoth_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAcothPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go index c3ea0c46a8b..cbf1b212f54 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amordegrc_amor_degrc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegr return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegr func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegr m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmorDegrcPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmordegrcAmo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go index 8af7fa470f9..559b821d6d7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_amorlinc_amor_linc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlinc return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatePurchased gets the datePurchased property value. The datePurchased property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("datePurchased") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlinc func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["datePurchased"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatePurchased(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatePurchased(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstPeriod gets the firstPeriod property value. The firstPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlinc m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetDatePurchased sets the datePurchased property value. The datePurchased property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("datePurchased", value) if err != nil { panic(err) } } // SetFirstPeriod sets the firstPeriod property value. The firstPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstPeriod", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmorLincPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAmorlincAmor ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatePurchased()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatePurchased()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatePurchased(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatePurchased(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_and_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_and_post_request_body.go index d6c25ae9524..4a86cafdadf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_and_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_and_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAndPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_arabic_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_arabic_post_request_body.go index ee12c7d9373..91c7551e7c6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_arabic_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_arabic_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPo m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsArabicPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_areas_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_areas_post_request_body.go index 308c11fe582..31c4b9a0013 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_areas_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_areas_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPos m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAreasPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asc_post_request_body.go index 3eb4d0232d1..fcfe0b69331 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostR m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAscPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asin_post_request_body.go index 3d455ebbbff..6f44d44d384 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asinh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asinh_post_request_body.go index bec545262b4..bbe0ef05506 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asinh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_asinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAsinhPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan2_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan2_post_request_body.go index d314a956e4d..c6ade81d7fc 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan2_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan2_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2Pos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["xNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetXNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetXNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetXNum gets the xNum property value. The xNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("xNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYNum gets the yNum property value. The yNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2Pos m.backingStore = value } // SetXNum sets the xNum property value. The xNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("xNum", value) if err != nil { panic(err) } } // SetYNum sets the yNum property value. The yNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostRequestBody) SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yNum", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtan2PostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetXNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetXNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetXNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetXNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan_post_request_body.go index 43b6a0ae596..93e3f9cef96 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atanh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atanh_post_request_body.go index a2f64f5ae66..a9705fbe4db 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atanh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_atanh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAtanhPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go index 77bf2b3b648..c6cccfa0e80 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_avedev_ave_dev_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAv func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAv m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDevPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAvedevAveDev ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_average_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_average_post_request_body.go index 09c4bfae9d2..5906a65663e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_average_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_average_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragePostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go index ecf0e18a4ab..6a498a0f669 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averagea_average_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragea func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragea m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAverageAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageaAver ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go index 79e12db8ef6..c0049cb8304 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageif_average_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAverageIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifAve i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go index c97cd70a9ad..74f5d048bc4 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_averageifs_average_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei return val.(map[string]any) } // GetAverageRange gets the averageRange property value. The averageRange property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("averageRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["averageRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAverageRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAverageRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei } } // SetAverageRange sets the averageRange property value. The averageRange property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("averageRange", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAveragei m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAverageIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsAverageifsAv i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAverageRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAverageRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAverageRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAverageRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go index 0cccab7b618..25d2e486495 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bahttext_baht_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttext func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttext m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBahtTextPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBahttextBaht ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_base_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_base_post_request_body.go index 24b173f61e6..91805a92f27 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_base_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_base_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["minLength"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinLength(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinLength(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMinLength gets the minLength property value. The minLength property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minLength") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePost m.backingStore = value } // SetMinLength sets the minLength property value. The minLength property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minLength", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBasePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMinLength()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMinLength()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMinLength(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMinLength(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go index 89ebb21fdc1..79bd6d8b467 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besseli_bessel_i_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliB m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesselIPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseliBesse ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go index b2598d0242f..601a2c3a88b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselj_bessel_j_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljB m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesselJPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesseljBesse ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go index c85cc33bf54..f47e960cfe9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_besselk_bessel_k_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkB m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesselKPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselkBesse ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go index 31a243f1a75..4293491c2e6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bessely_bessel_y_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyB m.backingStore = value } // SetN sets the n property value. The n property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesselYPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBesselyBesse ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go index c518c3e17fc..20b7d859464 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_dist_beta_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateFilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_d return NewFilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,26 +77,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -106,76 +105,76 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -226,7 +225,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis return nil } // SetA sets the A property value. The A property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -240,14 +239,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -258,21 +257,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_dis m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBeta_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -282,18 +281,18 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_distBet i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go index eef7bd5d86b..b75d52c4abe 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_beta_inv_beta_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -24,14 +23,14 @@ func CreateFilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_i return NewFilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody(), nil } // GetA gets the A property value. The A property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("a") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -49,26 +48,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetB gets the B property value. The B property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("b") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -78,14 +77,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -94,66 +93,66 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["A"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetA(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetA(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["B"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetB(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetB(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -198,7 +197,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv return nil } // SetA sets the A property value. The A property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("a", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) } } // SetB sets the B property value. The B property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("b", value) if err != nil { panic(err) @@ -230,14 +229,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_inv m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -247,16 +246,16 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBeta_invBeta i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetA()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetB()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetA()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetB()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetA(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetB(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetA(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetB(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go index 4660756d51a..78c207bdc8c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2dec_bin2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2decBin2D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go index 817d89be659..9d103ced49c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2hex_bin2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2hexBin2H ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go index 292220361de..ce2d1ab5d0f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bin2oct_bin2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octB func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octB m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBin2octBin2O ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go index 65fad7e2f6d..0f7cade706c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_di return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_di m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBinom_DistPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_distBi ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go index 3951581dfcf..9c9c9e0db64 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_dist_range_binom_dist_range_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS2 gets the numberS2 property value. The numberS2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_di m.backingStore = value } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetNumberS2 sets the numberS2 property value. The numberS2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS2", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_rangeBinom_Dist_RangePostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_dist_r ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go index 0714a39c6fe..35dc5c39566 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_binom_inv_binom_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_in return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_in func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["trials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTrials(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTrials(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTrials gets the trials property value. The trials property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("trials") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_in } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_in m.backingStore = value } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) } } // SetTrials sets the trials property value. The trials property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBinom_InvPostRequestBody) SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("trials", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBinom_invBin i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTrials()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTrials()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTrials(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTrials(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitand_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitand_post_request_body.go index 8377216fb1f..31cbac5bb28 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitand_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitand_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPo m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitandPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go index 88a739cddc0..8b95afc11ae 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitlshift_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshif func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshif m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitlshiftPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitor_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitor_post_request_body.go index f9607599724..a7dfe96b78b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitor_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPos m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitorPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go index 99ed611dca8..2fac70fc669 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitrshift_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshif func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["shiftAmount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetShiftAmount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetShiftAmount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetShiftAmount gets the shiftAmount property value. The shiftAmount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("shiftAmount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshif m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetShiftAmount sets the shiftAmount property value. The shiftAmount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPostRequestBody) SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("shiftAmount", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitrshiftPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetShiftAmount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetShiftAmount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetShiftAmount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetShiftAmount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go index 8293cee18be..e2a4e48f06c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_bitxor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPo m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsBitxorPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go index e68371894ed..89af340c5fb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_math_ceiling_math_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_ m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_mathCeiling_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_math ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go index dedc960465a..78d06acf3a5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ceiling_precise_ceiling_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_ m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_preciseCeiling_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCeiling_prec ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_char_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_char_post_request_body.go index d9ea7e5d340..e2790221938 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_char_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_char_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCharPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go index de42268ab1d..27ce0a0f7a6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_chi_sq_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distChiSq_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_distCh ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go index 85d9e04ee7b..2403810af37 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_dist_rt_chi_sq_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_di m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_rtChiSq_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_dist_r ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go index 732ca9d3a41..94a856e3847 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_chi_sq_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChiSq_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_invChi ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go index 60b7d840413..78e9bcfa361 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_chisq_inv_rt_chi_sq_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_in m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rtChiSq_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChisq_inv_rt ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_choose_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_choose_post_request_body.go index f02746e1ef5..1e434f875bb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_choose_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_choose_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["indexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIndexNum gets the indexNum property value. The indexNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("indexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePo m.backingStore = value } // SetIndexNum sets the indexNum property value. The indexNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("indexNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsChoosePostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_clean_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_clean_post_request_body.go index c4c04f52b6d..fc8b70e9e60 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_clean_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_clean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPos m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCleanPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_code_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_code_post_request_body.go index 9d460b18a3a..b23e019bc25 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_code_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_code_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePost m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCodePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_columns_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_columns_post_request_body.go index f4671477104..57f0be67023 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_columns_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_columns_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsP return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsP } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsColumnsPostR i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combin_post_request_body.go index b7edd5b8886..b89ea16a272 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPo m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combina_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combina_post_request_body.go index d17d16f23d7..9e9853bee42 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combina_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_combina_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCombinaPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_complex_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_complex_post_request_body.go index 1a559a0dccb..2ff5bd3ff9a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_complex_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_complex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["iNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetINum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetINum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["realNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRealNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRealNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["suffix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSuffix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSuffix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetINum gets the iNum property value. The iNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("iNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRealNum gets the realNum property value. The realNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("realNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSuffix gets the suffix property value. The suffix property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("suffix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexP m.backingStore = value } // SetINum sets the iNum property value. The iNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("iNum", value) if err != nil { panic(err) } } // SetRealNum sets the realNum property value. The realNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("realNum", value) if err != nil { panic(err) } } // SetSuffix sets the suffix property value. The suffix property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostRequestBody) SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("suffix", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsComplexPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetINum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRealNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSuffix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetINum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRealNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSuffix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetINum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRealNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSuffix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetINum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRealNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSuffix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go index 2337b4b9f7d..1fb5c772581 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_concatenate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcaten func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcaten m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenatePostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConcatenateP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go index 1ae1a928d9b..675c387e442 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_norm_confidence_norm_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden m.backingStore = value } // SetSize sets the size property value. The size property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_normConfidence_NormPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go index 2e2e5e47ad8..ebafa60fff2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_confidence_t_confidence_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSize(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSize(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSize gets the size property value. The size property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("size") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfiden m.backingStore = value } // SetSize sets the size property value. The size property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_tConfidence_TPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConfidence_t i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSize()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSize()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSize(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSize(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_convert_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_convert_post_request_body.go index e7ad689b21f..132e453c3de 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_convert_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_convert_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fromUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFromUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFromUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["toUnit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetToUnit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetToUnit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFromUnit gets the fromUnit property value. The fromUnit property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fromUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetToUnit gets the toUnit property value. The toUnit property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("toUnit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertP m.backingStore = value } // SetFromUnit sets the fromUnit property value. The fromUnit property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fromUnit", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetToUnit sets the toUnit property value. The toUnit property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostRequestBody) SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("toUnit", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsConvertPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFromUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetToUnit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFromUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetToUnit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFromUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetToUnit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFromUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetToUnit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cos_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cos_post_request_body.go index 2dd1785df30..4198a18b043 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cos_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCosPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cosh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cosh_post_request_body.go index d0a9dc0dafd..0fe6c41d4d6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cosh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoshPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cot_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cot_post_request_body.go index 6291a921c4a..3967e6babd3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cot_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCotPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coth_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coth_post_request_body.go index 15129001f2d..e5532a0a567 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coth_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coth_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCothPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_count_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_count_post_request_body.go index 74dd15c6c40..60f341c0a1b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_count_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_count_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPos m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go index 385d59cbb15..ae091fd4456 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_counta_count_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCo m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountaCountA ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go index 920b20ebc51..b566929191d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countblank_count_blank_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountbla func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountbla m.backingStore = value } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCountBlankPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountblankCo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go index c90c5d9f040..5bcb3d73152 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countif_count_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifC return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifC m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCountIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifCount ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go index 3f91119b989..e5dfd3db07e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_countifs_count_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifs func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifs m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCountIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCountifsCoun ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go index 5660552a598..644d2d79aa8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaybs_coup_day_bs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdayb return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdayb func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdayb m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCoupDayBsPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaybsCou ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go index 029bf93eae6..b7a80ee7180 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdays_coup_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoupDaysPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysCoup ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go index 06236104cd5..256451ab20e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupdaysnc_coup_days_nc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdays m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCoupDaysNcPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupdaysncCo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go index a300060d11b..1895e0a583f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupncd_coup_ncd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdC return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdC m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupNcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupncdCoupN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go index 02106cdef44..f3d23ff77df 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_coupnum_coup_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumC return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumC m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupNumPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCoupnumCoupN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go index 513736796a4..79148b8dafb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_couppcd_coup_pcd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdC return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdC m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupPcdPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCouppcdCoupP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csc_post_request_body.go index 4a8ce44e907..2b9c09d2d69 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCscPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csch_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csch_post_request_body.go index b82cb87e9f6..e5f346c8591 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csch_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_csch_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCschPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go index ef4b6b89d7e..101a160b68d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumipmt_cum_i_pmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtC return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtC m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumipmtCumIP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go index 23acb3e0238..f9e2fbc05eb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_cumprinc_cum_princ_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprinc return m.backingStore } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprinc func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprinc m.backingStore = value } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumPrincPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsCumprincCumP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_date_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_date_post_request_body.go index c349096eea2..aabaa7641ac 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_date_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_date_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePost return m.backingStore } // GetDay gets the day property value. The day property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("day") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["day"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDay(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDay(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["year"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYear(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYear(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYear gets the year property value. The year property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("year") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePost m.backingStore = value } // SetDay sets the day property value. The day property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("day", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetYear sets the year property value. The year property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequestBody) SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("year", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDay()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYear()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDay()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYear()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDay(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYear(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDay(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYear(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go index fa236711585..d4cd40e3e0b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_datevalue_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevalu return m.backingStore } // GetDateText gets the dateText property value. The dateText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dateText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevalu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dateText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDateText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDateText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevalu m.backingStore = value } // SetDateText sets the dateText property value. The dateText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePostRequestBody) SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dateText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDatevaluePos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDateText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDateText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDateText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDateText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_daverage_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_daverage_post_request_body.go index 488a08b6d12..108e3e8aacb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_daverage_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_daverage_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaverage return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaverage func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaverage m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaveragePost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_day_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_day_post_request_body.go index 156a106f43f..7d5e56d9aae 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_day_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_day_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostR m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDayPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days360_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days360_post_request_body.go index bcdaa0d4b6f..f2ede6715d2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days360_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days360_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360P return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360P func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["method"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMethod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMethod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMethod gets the method property value. The method property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("method") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360P m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetMethod sets the method property value. The method property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("method", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDays360PostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMethod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMethod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMethod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMethod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days_post_request_body.go index 24d5c5ff24a..19e6e0dd81a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPost return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPost m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDaysPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_db_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_db_post_request_body.go index 141dda1a395..13970375f9d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_db_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_db_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRe return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["month"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonth(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonth(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMonth gets the month property value. The month property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("month") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRe m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetMonth sets the month property value. The month property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("month", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMonth()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMonth()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMonth(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMonth(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go index 009839c7bb4..cd38edd0ec6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dbcs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPost m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDbcsPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcount_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcount_post_request_body.go index 6c35353e2dc..098fbcda45a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcount_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcount_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPo return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPo m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go index d31418e1f5c..32dc6f10615 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dcounta_dcount_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaD return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaD m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcountAPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDcountaDcoun ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ddb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ddb_post_request_body.go index 3fce995acbb..9fb2472eefd 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ddb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ddb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostR return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["period"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPeriod gets the period property value. The period property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("period") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostR m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPeriod sets the period property value. The period property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("period", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDdbPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go index 6ada76c6bc8..5fbbda970c2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2bin_dec2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binD m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2binDec2B ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go index 455b08b86fa..58c5397e339 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2hex_dec2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexD m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2hexDec2H ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go index 9fc6e063a96..2b7a0933b84 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dec2oct_dec2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octD m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDec2octDec2O ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_decimal_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_decimal_post_request_body.go index b934b8f28ac..be04c0e2a25 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_decimal_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_decimal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["radix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRadix(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRadix(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRadix gets the radix property value. The radix property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("radix") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetRadix sets the radix property value. The radix property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostRequestBody) SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("radix", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDecimalPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRadix()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRadix()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRadix(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRadix(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_degrees_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_degrees_post_request_body.go index ae3f5b8c946..a7e783de8cf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_degrees_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_degrees_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesP return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesP } } // SetAngle sets the angle property value. The angle property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDegreesPostR i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_delta_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_delta_post_request_body.go index 61b7fc67eff..5d27812a128 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_delta_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_delta_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber1 gets the number1 property value. The number1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber2 gets the number2 property value. The number2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPos m.backingStore = value } // SetNumber1 sets the number1 property value. The number1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number1", value) if err != nil { panic(err) } } // SetNumber2 sets the number2 property value. The number2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostRequestBody) SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDeltaPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go index d4079402dfd..ab0a2c56a47 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_devsq_dev_sq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDev func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDev m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDevsqDevSqPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dget_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dget_post_request_body.go index f5a0b891a91..9f50a52e8b7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dget_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dget_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPost return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPost m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDgetPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_disc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_disc_post_request_body.go index 94f733bd767..e0598103607 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_disc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPost return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPost m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDiscPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmax_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmax_post_request_body.go index cda7ca164a8..9a8a27ff7a3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmax_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmax_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPost return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPost m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDmaxPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmin_post_request_body.go index 6461eee287a..76330b5dca5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dmin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPost return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPost m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDminPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollar_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollar_post_request_body.go index 0264fe0bba9..bbe474e496f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollar_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPo return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPo m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go index c10c66ab5e5..b0e238cc90a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarde_dollar_de_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarde func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fractionalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFractionalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFractionalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFractionalDollar gets the fractionalDollar property value. The fractionalDollar property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fractionalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarde m.backingStore = value } // SetFraction sets the fraction property value. The fraction property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) } } // SetFractionalDollar sets the fractionalDollar property value. The fractionalDollar property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDollarDePostRequestBody) SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fractionalDollar", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollardeDoll ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFractionalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFractionalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFractionalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFractionalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go index 305618eff0c..312072fbacb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dollarfr_dollar_fr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfr return m.backingStore } // GetDecimalDollar gets the decimalDollar property value. The decimalDollar property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalDollar") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfr func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalDollar"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalDollar(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalDollar(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["fraction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFraction(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFraction(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFraction gets the fraction property value. The fraction property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fraction") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfr m.backingStore = value } // SetDecimalDollar sets the decimalDollar property value. The decimalDollar property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalDollar", value) if err != nil { panic(err) } } // SetFraction sets the fraction property value. The fraction property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDollarFrPostRequestBody) SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fraction", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDollarfrDoll ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalDollar()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFraction()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalDollar()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFraction()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalDollar(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFraction(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalDollar(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFraction(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go index 6a53dc96cc9..74081f01e3f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dproduct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproduct return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproduct func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproduct m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDproductPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go index 31bcd0d2035..cab70a24ee3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdev_dst_dev_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDs return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDs func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDs m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDevPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevDstDev ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go index 282606ea3be..0cf5c49e5ea 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dstdevp_dst_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpD return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpD m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDevPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDstdevpDstDe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dsum_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dsum_post_request_body.go index 95dcc862aa8..fd8ad31be0d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dsum_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dsum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPost return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPost m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDsumPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_duration_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_duration_post_request_body.go index 97eb94a71fd..184cbc3b470 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_duration_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_duration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDuration return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDuration func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDuration m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDurationPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvar_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvar_post_request_body.go index 8095a5a73f0..1b43c6dcea8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvar_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPost return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPost m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go index b8daf789db8..778fb00d2db 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_dvarp_dvar_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDva return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDatabase gets the database property value. The database property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("database") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetField gets the field property value. The field property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("field") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,32 +81,32 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDva func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["database"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDatabase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDatabase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["field"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetField(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetField(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDva m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetDatabase sets the database property value. The database property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("database", value) if err != nil { panic(err) } } // SetField sets the field property value. The field property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPostRequestBody) SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("field", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsDvarpDvarPPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDatabase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetField()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDatabase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetField()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDatabase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetField(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDatabase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetField(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go index 09e9cbdcb7c..7a5d1511964 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ecma_ceiling_ecma_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_cei func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_cei m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceilingEcma_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEcma_ceiling ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_edate_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_edate_post_request_body.go index bba1062983c..ebfd0351092 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_edate_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_edate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePos m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEdatePostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_effect_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_effect_post_request_body.go index 3752e6bfd66..6175a1f1b48 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_effect_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_effect_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nominalRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNominalRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNominalRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNominalRate gets the nominalRate property value. The nominalRate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nominalRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPo m.backingStore = value } // SetNominalRate sets the nominalRate property value. The nominalRate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nominalRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEffectPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNominalRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNominalRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNominalRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNominalRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go index efede33433d..9d2ff18f71c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_eomonth_eo_month_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthE func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["months"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMonths(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMonths(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMonths gets the months property value. The months property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("months") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthE m.backingStore = value } // SetMonths sets the months property value. The months property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("months", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMonthPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEomonthEoMon ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMonths()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMonths()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMonths(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMonths(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_post_request_body.go index 2a3603341fc..381f5e03338 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lowerLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLowerLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLowerLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["upperLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetUpperLimit(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetUpperLimit(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLowerLimit gets the lowerLimit property value. The lowerLimit property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lowerLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetUpperLimit gets the upperLimit property value. The upperLimit property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("upperLimit") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostR m.backingStore = value } // SetLowerLimit sets the lowerLimit property value. The lowerLimit property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lowerLimit", value) if err != nil { panic(err) } } // SetUpperLimit sets the upperLimit property value. The upperLimit property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostRequestBody) SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("upperLimit", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLowerLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetUpperLimit()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLowerLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetUpperLimit()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLowerLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetUpperLimit(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLowerLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetUpperLimit(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go index e7d90b98d80..d960ff8b5dd 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erf_precise_erf_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_prec func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_prec m.backingStore = value } // SetX sets the X property value. The X property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseErf_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErf_preciseE ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go index 10f2b8e9e76..b9fc54f856d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_erf_c_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfC m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfcErfCPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go index a43833ae64d..91a6feb4336 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_erfc_precise_erf_c_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_pre func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["X"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the X property value. The X property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_pre m.backingStore = value } // SetX sets the X property value. The X property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_preciseErfC_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsErfc_precise ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go index 729a158a599..8c68b9a4ddd 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_error_type_error_type_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_ty return m.backingStore } // GetErrorVal gets the errorVal property value. The errorVal property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("errorVal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_ty func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["errorVal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetErrorVal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetErrorVal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_ty m.backingStore = value } // SetErrorVal sets the errorVal property value. The errorVal property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeError_TypePostRequestBody) SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("errorVal", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsError_typeEr ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetErrorVal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetErrorVal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetErrorVal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetErrorVal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_even_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_even_post_request_body.go index 43c3f219815..8183aaf5d10 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_even_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_even_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsEvenPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exact_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exact_post_request_body.go index 59d93558907..a57052178da 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exact_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exact_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText1 gets the text1 property value. The text1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText2 gets the text2 property value. The text2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPos m.backingStore = value } // SetText1 sets the text1 property value. The text1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text1", value) if err != nil { panic(err) } } // SetText2 sets the text2 property value. The text2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostRequestBody) SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExactPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exp_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exp_post_request_body.go index d53a9f8f2cb..ed35e39533a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exp_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_exp_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go index 03f12f9de4a..65a9c0796f9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_expon_dist_expon_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_di return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lambda"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLambda(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLambda(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLambda gets the lambda property value. The lambda property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lambda") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_di m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetLambda sets the lambda property value. The lambda property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lambda", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distExpon_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsExpon_distEx ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLambda()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLambda()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLambda(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLambda(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go index 849f0d2f368..69f8d0e5441 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_f_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_ return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_ m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_distF_Dist ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go index 5ec3c4393d6..7c95c680607 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_dist_rt_f_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_r return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_r func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_r m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_dist_rtF_D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go index 006cc098493..cda544887f5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_f_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_I return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_I func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_I m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_invF_InvPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go index f4e1c90f8a1..c8354fe1bfa 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_f_inv_rt_f_inv_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rt return m.backingStore } // GetDegFreedom1 gets the degFreedom1 property value. The degFreedom1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom2 gets the degFreedom2 property value. The degFreedom2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rt func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rt m.backingStore = value } // SetDegFreedom1 sets the degFreedom1 property value. The degFreedom1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom1", value) if err != nil { panic(err) } } // SetDegFreedom2 sets the degFreedom2 property value. The degFreedom2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom2", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_Inv_RTPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsF_inv_rtF_In ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fact_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fact_post_request_body.go index 5deefed7967..538ae0ba917 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fact_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fact_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go index 1379526a49f..90e5b656c97 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_factdouble_fact_double_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoub func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoub m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFactDoublePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFactdoubleFa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_find_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_find_post_request_body.go index 85251151fd4..27b631b69c3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_find_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_find_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPost m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go index 9e680cae56c..aa82228a199 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_findb_find_b_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFin func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["findText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFindText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFindText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["withinText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWithinText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWithinText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFindText gets the findText property value. The findText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("findText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWithinText gets the withinText property value. The withinText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("withinText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFin m.backingStore = value } // SetFindText sets the findText property value. The findText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("findText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetWithinText sets the withinText property value. The withinText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPostRequestBody) SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("withinText", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFindbFindBPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFindText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWithinText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFindText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWithinText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFindText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWithinText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFindText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWithinText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisher_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisher_post_request_body.go index ce5260e44d8..718916ac9d2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisher_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisher_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPo m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go index 8b466e995ce..389bbacd01a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fisherinv_fisher_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherin func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["y"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetY(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetY(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetY gets the y property value. The y property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("y") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherin m.backingStore = value } // SetY sets the y property value. The y property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFisherInvPostRequestBody) SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("y", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFisherinvFis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetY()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetY()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetY(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetY(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fixed_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fixed_post_request_body.go index 3e9fca30c69..62e8a0a8585 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fixed_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fixed_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPos return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noCommas"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoCommas(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoCommas(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNoCommas gets the noCommas property value. The noCommas property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noCommas") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPos m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNoCommas sets the noCommas property value. The noCommas property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noCommas", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFixedPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoCommas()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoCommas()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoCommas(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoCommas(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go index f3304f04067..0fd33b1f34c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_math_floor_math_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_ma func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMode(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMode(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMode gets the mode property value. The mode property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mode") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_ma m.backingStore = value } // SetMode sets the mode property value. The mode property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFloor_MathPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_mathFl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMode()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMode()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMode(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMode(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go index 99e0052aa60..b45a3866107 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_floor_precise_floor_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_pr func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_pr m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_preciseFloor_PrecisePostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFloor_precis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fv_post_request_body.go index ea9f8222bda..00bbc19dea4 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRe m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go index 0acc973e913..92730dc14a3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_fvschedule_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["principal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPrincipal(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPrincipal(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["schedule"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSchedule(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSchedule(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPrincipal gets the principal property value. The principal property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("principal") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSchedule gets the schedule property value. The schedule property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("schedule") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedu m.backingStore = value } // SetPrincipal sets the principal property value. The principal property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("principal", value) if err != nil { panic(err) } } // SetSchedule sets the schedule property value. The schedule property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePostRequestBody) SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("schedule", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsFvschedulePo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPrincipal()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSchedule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetPrincipal()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSchedule()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPrincipal(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSchedule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPrincipal(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSchedule(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go index e95a28b45f7..210171312b7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_dist_gamma_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_di return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_di return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_di func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_di } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_di m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGamma_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_distGa i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go index 38347dea79c..7ab7aa3c83b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_inv_gamma_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_in return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,14 +53,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_in return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_in func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_in } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_in m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGamma_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGamma_invGam i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_post_request_body.go index a2a1a4414bd..fbbb7e8fdf1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gamma_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPos m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go index 82cd1528d8f..d69b97c5d10 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_gamma_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnG func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnG m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGammaLnPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammalnGamma ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go index 891efd33903..f4f814904bb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gammaln_precise_gamma_ln_precise_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_ m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_preciseGammaLn_PrecisePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGammaln_prec ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gauss_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gauss_post_request_body.go index 0fb76cc6a6c..f2a37fdd84d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gauss_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gauss_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPos m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGaussPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gcd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gcd_post_request_body.go index 70f48b98fb2..7c06172bd21 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gcd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gcd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGcdPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go index 31d7ef3b1ae..510e8e2eb06 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_geomean_geo_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanG func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanG m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGeomeanGeoMe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go index 47ae290f7e6..b11a0755794 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_gestep_ge_step_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["step"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStep(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStep(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStep gets the step property value. The step property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("step") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGe m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetStep sets the step property value. The step property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStepPostRequestBody) SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("step", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsGestepGeStep ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStep()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStep()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStep(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStep(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go index f6f8e342b7a..3cd1942ed5a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_harmean_har_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanH func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanH m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMeanPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHarmeanHarMe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go index b3536eaf193..afac15553e8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2bin_hex2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binH func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binH m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2binHex2B ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go index dec7b634868..741cc8a4a82 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2dec_hex2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decH func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decH m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2decHex2D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go index 704a08bb6de..f497c521652 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hex2oct_hex2_oct_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octH func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octH m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2OctPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHex2octHex2O ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go index 4b59cb7d503..090c22a2b2b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hlookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rowIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRowIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRowIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRowIndexNum gets the rowIndexNum property value. The rowIndexNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rowIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupP m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetRowIndexNum sets the rowIndexNum property value. The rowIndexNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rowIndexNum", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHlookupPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRowIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRowIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRowIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRowIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hour_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hour_post_request_body.go index c4a529ce6ae..8528b63ca4a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hour_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hour_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPost m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHourPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go index 597990ffb4a..e9728931cd0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hyperlink_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlin func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["friendlyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFriendlyName(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFriendlyName(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["linkLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLinkLocation(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLinkLocation(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFriendlyName gets the friendlyName property value. The friendlyName property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("friendlyName") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLinkLocation gets the linkLocation property value. The linkLocation property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("linkLocation") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlin m.backingStore = value } // SetFriendlyName sets the friendlyName property value. The friendlyName property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("friendlyName", value) if err != nil { panic(err) } } // SetLinkLocation sets the linkLocation property value. The linkLocation property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPostRequestBody) SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("linkLocation", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHyperlinkPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFriendlyName()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLinkLocation()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFriendlyName()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLinkLocation()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFriendlyName(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLinkLocation(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFriendlyName(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLinkLocation(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go index 76565311647..527684ced50 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_hypgeom_dist_hyp_geom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_ return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberPop"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberPop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberPop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberSample"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberSample(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberSample(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["populationS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPopulationS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPopulationS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sampleS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSampleS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSampleS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberPop gets the numberPop property value. The numberPop property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberPop") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberSample gets the numberSample property value. The numberSample property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberSample") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPopulationS gets the populationS property value. The populationS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("populationS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSampleS gets the sampleS property value. The sampleS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sampleS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_ m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberPop sets the numberPop property value. The numberPop property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberPop", value) if err != nil { panic(err) } } // SetNumberSample sets the numberSample property value. The numberSample property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberSample", value) if err != nil { panic(err) } } // SetPopulationS sets the populationS property value. The populationS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("populationS", value) if err != nil { panic(err) } } // SetSampleS sets the sampleS property value. The sampleS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_distHypGeom_DistPostRequestBody) SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sampleS", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsHypgeom_dist ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberPop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberSample()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPopulationS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSampleS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberPop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberSample()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPopulationS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSampleS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberPop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberSample(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPopulationS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSampleS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberPop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberSample(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPopulationS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSampleS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_if_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_if_post_request_body.go index ef49b856f9d..cf5aba3ac6c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_if_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logicalTest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogicalTest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogicalTest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfFalse"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfFalse(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfFalse(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["valueIfTrue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValueIfTrue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValueIfTrue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogicalTest gets the logicalTest property value. The logicalTest property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logicalTest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfFalse gets the valueIfFalse property value. The valueIfFalse property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfFalse") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValueIfTrue gets the valueIfTrue property value. The valueIfTrue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("valueIfTrue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRe m.backingStore = value } // SetLogicalTest sets the logicalTest property value. The logicalTest property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logicalTest", value) if err != nil { panic(err) } } // SetValueIfFalse sets the valueIfFalse property value. The valueIfFalse property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfFalse", value) if err != nil { panic(err) } } // SetValueIfTrue sets the valueIfTrue property value. The valueIfTrue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostRequestBody) SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("valueIfTrue", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIfPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogicalTest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfFalse()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValueIfTrue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogicalTest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfFalse()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValueIfTrue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogicalTest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfFalse(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValueIfTrue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogicalTest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfFalse(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValueIfTrue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go index 2f3a58305e4..9f107bf7ba5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imabs_im_abs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImA m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImabsImAbsPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go index c144a6ced6e..54a4eee6ec8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imaginary_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginar func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginar m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImaginaryPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go index 6f72bc35211..f57928efc24 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imargument_im_argument_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargume func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargume m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentImArgumentPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImargumentIm ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go index de3773a2179..6e6423a9dfb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imconjugate_im_conjugate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjug func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjug m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateImConjugatePostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImconjugateI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go index ceecf0ead1d..02f8af4a872 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcos_im_cos_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImC m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcosImCosPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go index 90d425ec9ec..c0099757d08 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcosh_im_cosh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCoshPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcoshImCosh ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go index b85aaefdf9f..f56979ea8a2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcot_im_cot_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImC m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcotImCotPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go index 2ea7692e420..2db3f01e82c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsc_im_csc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImC func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImC m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcscImCscPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go index 589b98cacac..98515c11745 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imcsch_im_csch_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCschPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImcschImCsch ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go index b04a92ca92d..c9a179dd8ee 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imdiv_im_div_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImD func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImD m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImdivImDivPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go index 16b0f775502..7cf7734c545 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imexp_im_exp_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImE func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImE m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImexpImExpPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go index 24f8ec590aa..906d607e6b7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imln_im_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLn func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLn m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlnImLnPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go index bbe97f35e0c..ae8fcfe1007 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog10_im_log10_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10I func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10I m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog10PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog10ImLog ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go index 9e5d0c82e63..6a3c7147146 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imlog2_im_log2_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2Im func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2Im m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2PostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImlog2ImLog2 ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go index 7d3919c340c..26ddc1db50e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_impower_im_power_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerI func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerI m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImpowerImPow ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go index b5ee3d62f8d..e7494f9fa44 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_improduct_im_product_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproduc func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproduc m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImproductImP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go index 0182d1c1d22..0ef4ee7c1c1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imreal_im_real_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImRealPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImrealImReal ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go index 7a6f4398e3c..08602a284aa 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsec_im_sec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImS m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsecImSecPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go index 183eaf4a80c..b42b7cb08a3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsech_im_sech_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSechPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsechImSech ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go index 01d35f86af6..d328f846205 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsin_im_sin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImS m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinImSinPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go index a1caddffddb..812853b06c3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsinh_im_sinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinhPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsinhImSinh ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go index 224e0a7af18..8bfd5ca27c7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsqrt_im_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtIm func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtIm m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrtPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsqrtImSqrt ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go index 1bc08b25cc0..9db12685402 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsub_im_sub_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber1"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber1(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber1(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["inumber2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber2(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber2(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber1 gets the inumber1 property value. The inumber1 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber1") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetInumber2 gets the inumber2 property value. The inumber2 property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber2") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImS m.backingStore = value } // SetInumber1 sets the inumber1 property value. The inumber1 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber1", value) if err != nil { panic(err) } } // SetInumber2 sets the inumber2 property value. The inumber2 property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPostRequestBody) SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber2", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsubImSubPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber1()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInumber2()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber1()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInumber2()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber1(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInumber2(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber1(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInumber2(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go index e7d992993b7..2b974965050 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imsum_im_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImS m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImsumImSumPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go index 9025c639b36..4acd4fc99a1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_imtan_im_tan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImT func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["inumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInumber gets the inumber property value. The inumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("inumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImT m.backingStore = value } // SetInumber sets the inumber property value. The inumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPostRequestBody) SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("inumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsImtanImTanPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_int_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_int_post_request_body.go index c3415d5937d..0c0a366d1ce 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_int_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_int_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go index 2be0dd57b91..10247a80087 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_intrate_int_rate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateI return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateI func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateI m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRatePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIntrateIntRa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go index 9a33281e241..b9e490b214d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ipmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPost m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIpmtPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_irr_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_irr_post_request_body.go index fd727809c35..6f1b4df8635 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_irr_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_irr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostR m.backingStore = value } // SetGuess sets the guess property value. The guess property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIrrPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go index 51b15647943..0d75764184d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserr_is_err_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsE func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsE m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrIsErrPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go index edf41e2d4da..2bd3a7414cf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iserror_is_error_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorI func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorI m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErrorPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIserrorIsErr ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go index 0703d7385e3..9973a0af347 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iseven_is_even_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIs func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIs m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEvenPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsevenIsEven ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go index 4ac5250f3c2..d95d39278a0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isformula_is_formula_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformul func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformul m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsFormulaPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsformulaIsF ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go index c4f217d4b13..3a101c7b533 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_islogical_is_logical_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogica func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogica m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsLogicalPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIslogicalIsL ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go index 078b861a18d..c363f5dee38 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isna_is_n_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNA m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnaIsNAPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go index 163299417f5..51799d6594a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnontext_is_non_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontex func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontex m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsNonTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnontextIsN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go index 035703105ab..74891accd1a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isnumber_is_number_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumber func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumber m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNumberPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsnumberIsNu ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go index 60ed9dcf2ac..ba8c950cac1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_iso_ceiling_iso_ceiling_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceil func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceil m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingIso_CeilingPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIso_ceilingI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go index 751a0eb5617..b90b89d5ffc 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isodd_is_odd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsO func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsO m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoddIsOddPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go index 6ca55ad3ab5..6ee58f2ff37 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isoweeknum_iso_week_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweekn return m.backingStore } // GetDate gets the date property value. The date property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("date") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweekn func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["date"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweekn m.backingStore = value } // SetDate sets the date property value. The date property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIsoWeekNumPostRequestBody) SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("date", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsoweeknumIs ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go index 09c13e8bd1b..3e0370c83b7 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ispmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPos m.backingStore = value } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIspmtPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isref_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isref_post_request_body.go index dd3c14bd8e1..df5d2ab5d42 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isref_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_isref_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPos m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIsrefPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go index 1346a129939..2a577788ec5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_istext_is_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIs func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIs m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsIstextIsText ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_kurt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_kurt_post_request_body.go index ca787ffb01b..7ef1a2d887d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_kurt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_kurt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPost m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsKurtPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_large_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_large_post_request_body.go index 72e9f049901..d6ad639a592 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_large_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_large_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePos return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePos } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePos m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLargePostReq i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lcm_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lcm_post_request_body.go index 5e63cb611a2..5835fc95d87 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lcm_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lcm_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLcmPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_left_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_left_post_request_body.go index d69433d4f18..0b6bd890247 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_left_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_left_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPost m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_leftb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_leftb_post_request_body.go index f9586b55dd3..8b30c3923c3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_leftb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_leftb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPos m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLeftbPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_len_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_len_post_request_body.go index d7b1ec14605..28e99e9a4ff 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_len_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_len_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostR m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lenb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lenb_post_request_body.go index b35443a6929..603409f83eb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lenb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lenb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPost m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLenbPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ln_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ln_post_request_body.go index 0bb3095017a..0a40717879c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ln_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRe m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLnPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log10_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log10_post_request_body.go index d0787878071..4357dd23e06 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log10_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log10_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10Pos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10Pos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLog10PostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log_post_request_body.go index 58a1173f577..8f0d0aff8a0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_log_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostR return m.backingStore } // GetBase gets the base property value. The base property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("base") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["base"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBase(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBase(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostR m.backingStore = value } // SetBase sets the base property value. The base property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("base", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLogPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBase()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBase()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBase(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBase(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go index d05dec01ff1..45157a670bd 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_dist_log_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_ return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_ m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_distLogNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_dist ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go index e0fbe7541c6..2a9ac1025ac 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lognorm_inv_log_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_ m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invLogNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLognorm_invL ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lookup_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lookup_post_request_body.go index 0eda1aebc27..c9286b52375 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lookup_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["resultVector"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetResultVector(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetResultVector(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupVector gets the lookupVector property value. The lookupVector property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetResultVector gets the resultVector property value. The resultVector property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("resultVector") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPo m.backingStore = value } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetLookupVector sets the lookupVector property value. The lookupVector property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupVector", value) if err != nil { panic(err) } } // SetResultVector sets the resultVector property value. The resultVector property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRequestBody) SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("resultVector", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLookupPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetResultVector()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetResultVector()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetResultVector(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetResultVector(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lower_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lower_post_request_body.go index bc683b6409d..4da889db2c1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lower_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_lower_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPos m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsLowerPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_match_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_match_post_request_body.go index a983ffad29b..5099bf4d8ce 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_match_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_match_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["lookupArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["matchType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMatchType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMatchType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupArray gets the lookupArray property value. The lookupArray property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMatchType gets the matchType property value. The matchType property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("matchType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPos m.backingStore = value } // SetLookupArray sets the lookupArray property value. The lookupArray property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupArray", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetMatchType sets the matchType property value. The matchType property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostRequestBody) SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("matchType", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMatchPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLookupArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMatchType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLookupArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMatchType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLookupArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMatchType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLookupArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMatchType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_max_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_max_post_request_body.go index 914c3b2c49c..97ffb1c5aa9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_max_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_max_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go index cc6eca50e56..6721ba83779 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_maxa_max_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxA m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMaxaMaxAPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mduration_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mduration_post_request_body.go index 54d551e232e..ef03f896afb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mduration_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mduration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMduratio return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCoupon gets the coupon property value. The coupon property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,112 +69,112 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMduratio func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["coupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMduratio m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetCoupon sets the coupon property value. The coupon property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMdurationPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_median_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_median_post_request_body.go index 842cbe7f62a..3fd91ee943d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_median_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_median_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPo m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMedianPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mid_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mid_post_request_body.go index 12f6c71573a..c494013e4a9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mid_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mid_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostR m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_midb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_midb_post_request_body.go index 429600be385..93cbf481fd8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_midb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_midb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPost m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMidbPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_min_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_min_post_request_body.go index 512dd2dcb78..0729174cf2e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_min_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_min_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go index b8006535c3b..6061b74ff71 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mina_min_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinA m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinaMinAPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_minute_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_minute_post_request_body.go index f10253bb412..a62912a8424 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_minute_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_minute_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePo m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMinutePostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mirr_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mirr_post_request_body.go index a18fed4cf4b..c51c6bf1206 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mirr_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mirr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["financeRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFinanceRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFinanceRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["reinvestRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReinvestRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReinvestRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFinanceRate gets the financeRate property value. The financeRate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("financeRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetReinvestRate gets the reinvestRate property value. The reinvestRate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reinvestRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPost m.backingStore = value } // SetFinanceRate sets the financeRate property value. The financeRate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("financeRate", value) if err != nil { panic(err) } } // SetReinvestRate sets the reinvestRate property value. The reinvestRate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reinvestRate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMirrPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFinanceRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetReinvestRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFinanceRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetReinvestRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFinanceRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetReinvestRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFinanceRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetReinvestRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mod_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mod_post_request_body.go index d5d755faabe..1ddc48aab57 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mod_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mod_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostR return m.backingStore } // GetDivisor gets the divisor property value. The divisor property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("divisor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["divisor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDivisor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDivisor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostR m.backingStore = value } // SetDivisor sets the divisor property value. The divisor property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("divisor", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsModPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDivisor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDivisor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDivisor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDivisor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_month_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_month_post_request_body.go index 07f25903a4e..c94d0801b01 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_month_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_month_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPos m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMonthPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mround_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mround_post_request_body.go index 9bba22233f4..840f1f0bbb6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mround_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_mround_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["multiple"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMultiple(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMultiple(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMultiple gets the multiple property value. The multiple property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("multiple") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPo m.backingStore = value } // SetMultiple sets the multiple property value. The multiple property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("multiple", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMroundPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMultiple()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMultiple()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMultiple(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMultiple(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go index 34db09b691a..796dbe766a9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_multinomial_multi_nomial_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinom func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinom m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialMultiNomialPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsMultinomialM ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_n_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_n_post_request_body.go index 98efbb26b7a..0616c718f34 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_n_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_n_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostReq func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostReq m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go index cecaa4c98bf..f50384273e5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_negbinom_dist_neg_binom_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberF"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberF(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberF(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probabilityS"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbabilityS(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbabilityS(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberF gets the numberF property value. The numberF property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberF") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberS gets the numberS property value. The numberS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbabilityS gets the probabilityS property value. The probabilityS property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probabilityS") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetNumberF sets the numberF property value. The numberF property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberF", value) if err != nil { panic(err) } } // SetNumberS sets the numberS property value. The numberS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberS", value) if err != nil { panic(err) } } // SetProbabilityS sets the probabilityS property value. The probabilityS property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_distNegBinom_DistPostRequestBody) SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probabilityS", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNegbinom_dis ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberF()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbabilityS()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberF()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbabilityS()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberF(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbabilityS(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberF(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbabilityS(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go index c6ae4c2f54a..0bf0226a7de 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_intl_network_days_intl_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_intlNetworkDays_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdays_ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go index dffac9cb224..b6b89132a6a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_networkdays_network_days_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd return m.backingStore } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkd m.backingStore = value } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysNetworkDaysPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNetworkdaysN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nominal_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nominal_post_request_body.go index deeb85ef0b7..d8529b579dd 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nominal_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nominal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalP return m.backingStore } // GetEffectRate gets the effectRate property value. The effectRate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("effectRate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["effectRate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEffectRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEffectRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["npery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNpery(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNpery(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNpery gets the npery property value. The npery property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("npery") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalP m.backingStore = value } // SetEffectRate sets the effectRate property value. The effectRate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("effectRate", value) if err != nil { panic(err) } } // SetNpery sets the npery property value. The npery property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostRequestBody) SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("npery", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNominalPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEffectRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNpery()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEffectRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNpery()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEffectRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNpery(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEffectRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNpery(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go index 843842404c5..d0f94b9ae02 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_dist_norm_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_dis return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_dis func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_dis m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNorm_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_distNor ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go index 7d9e4e21b44..bb8389aae3f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_inv_norm_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_inv func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_inv m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm_InvPostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_invNorm ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go index 27a243e6361..7cf9db96021 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_dist_norm_s_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_d return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_d func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["z"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetZ(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetZ(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetZ gets the z property value. The z property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("z") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_d m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetZ sets the z property value. The z property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distNorm_S_DistPostRequestBody) SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("z", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_distN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetZ()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetZ()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetZ(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetZ(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go index 72f64fa48e0..caedceb07ac 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_norm_s_inv_norm_s_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_i func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_i m.backingStore = value } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNorm_S_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNorm_s_invNo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_not_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_not_post_request_body.go index 184e9d72c66..649d11903d9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_not_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_not_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["logical"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLogical(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLogical(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLogical gets the logical property value. The logical property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("logical") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostR m.backingStore = value } // SetLogical sets the logical property value. The logical property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostRequestBody) SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("logical", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNotPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetLogical()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetLogical()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetLogical(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetLogical(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nper_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nper_post_request_body.go index f56764fe526..c212f9c28e8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nper_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_nper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPost m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNperPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_npv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_npv_post_request_body.go index 11048db18f7..639dc430f15 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_npv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_npv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostR m.backingStore = value } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNpvPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go index 6878dd49e64..feb37bcc7a1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_numbervalue_number_value_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumberva return m.backingStore } // GetDecimalSeparator gets the decimalSeparator property value. The decimalSeparator property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimalSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumberva func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimalSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimalSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimalSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["groupSeparator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGroupSeparator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGroupSeparator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGroupSeparator gets the groupSeparator property value. The groupSeparator property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("groupSeparator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumberva m.backingStore = value } // SetDecimalSeparator sets the decimalSeparator property value. The decimalSeparator property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimalSeparator", value) if err != nil { panic(err) } } // SetGroupSeparator sets the groupSeparator property value. The groupSeparator property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("groupSeparator", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueNumberValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsNumbervalueN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimalSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGroupSeparator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimalSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGroupSeparator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimalSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGroupSeparator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimalSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGroupSeparator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go index 3e514325e8e..e16b2f18697 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2bin_oct2_bin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binO func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binO m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2BinPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2binOct2B ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go index 1a043bebd5f..572d6e10b8d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2dec_oct2_dec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decO func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decO m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2DecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2decOct2D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go index e8a6fb4092d..b992b1a8175 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oct2hex_oct2_hex_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexO func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["places"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPlaces(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPlaces(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPlaces gets the places property value. The places property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("places") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexO m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPlaces sets the places property value. The places property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2HexPostRequestBody) SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("places", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOct2hexOct2H ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPlaces()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPlaces()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPlaces(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPlaces(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_odd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_odd_post_request_body.go index 171c5280cbe..a96350199f4 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_odd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_odd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go index b438d1b2f41..e2b0405a1b5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfprice_odd_f_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpric return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpric func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpric m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOddFPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfpriceOdd ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go index dd5e16df887..2c763fea3fc 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddfyield_odd_f_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyiel return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,190 +57,190 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyiel func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["firstCoupon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFirstCoupon(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFirstCoupon(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFirstCoupon gets the firstCoupon property value. The firstCoupon property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("firstCoupon") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -321,63 +320,63 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyiel m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFirstCoupon sets the firstCoupon property value. The firstCoupon property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("firstCoupon", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOddFYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -388,23 +387,23 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddfyieldOdd ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFirstCoupon()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFirstCoupon()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFirstCoupon(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFirstCoupon(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go index 56656f4a138..6897b9d00f0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlprice_odd_l_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpric return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpric func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpric m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOddLPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlpriceOdd ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go index 6fbb843b34f..fea5df000b8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_oddlyield_odd_l_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyiel return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,168 +57,168 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyiel func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lastInterest"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLastInterest(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLastInterest(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetLastInterest gets the lastInterest property value. The lastInterest property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lastInterest") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -293,56 +292,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyiel m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetLastInterest sets the lastInterest property value. The lastInterest property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lastInterest", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOddLYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -353,21 +352,21 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOddlyieldOdd ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLastInterest()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLastInterest()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLastInterest(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLastInterest(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_or_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_or_post_request_body.go index c9319060be8..78af4ae0f57 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_or_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_or_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRe m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsOrPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pduration_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pduration_post_request_body.go index 9eab3021ce1..44b52c2265d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pduration_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pduration_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPduratio func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPduratio m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPdurationPos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go index c3812261c0b..99c1ee4664f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_exc_percentile_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_excPercentile_ExcPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_e i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go index 963ac595ad8..8c8d9b4ed6f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentile_inc_percentile_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercenti m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_incPercentile_IncPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentile_i i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go index 16f8c4b5af6..c05cfdb318d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_exc_percent_rank_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_excPercentRank_ExcPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_ i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go index 178b10cb9b9..657a396e0d8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_percentrank_inc_percent_rank_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["significance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSignificance(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSignificance(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSignificance gets the significance property value. The significance property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("significance") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentr m.backingStore = value } // SetSignificance sets the significance property value. The significance property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("significance", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_incPercentRank_IncPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPercentrank_ i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSignificance()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSignificance()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSignificance(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSignificance(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permut_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permut_post_request_body.go index d0e4c01b07b..a7e9256cd2f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permut_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permut_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPo m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go index 4f74626776e..9d262342ae8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_permutationa_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutat func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numberChosen"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberChosen(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberChosen(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumberChosen gets the numberChosen property value. The numberChosen property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberChosen") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutat m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumberChosen sets the numberChosen property value. The numberChosen property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationaPostRequestBody) SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberChosen", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPermutationa ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumberChosen()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumberChosen()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumberChosen(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumberChosen(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_phi_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_phi_post_request_body.go index 70aac2576b1..3037416201b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_phi_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_phi_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostR m.backingStore = value } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPhiPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pmt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pmt_post_request_body.go index 1e4e124fefd..e6f3f11991c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pmt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostR m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPmtPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go index 9b52403bb3c..c10eaa903cf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_poisson_dist_poisson_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_ return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_ m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_distPoisson_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPoisson_dist ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_power_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_power_post_request_body.go index 10699f01cc6..b6c8e13cdb0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_power_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_power_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["power"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPower(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPower(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPower gets the power property value. The power property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("power") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetPower sets the power property value. The power property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostRequestBody) SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("power", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPowerPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPower()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPower()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPower(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPower(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go index 5601d95cf18..5761e9021e3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_ppmt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPost m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPpmtPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_price_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_price_post_request_body.go index efcdb6753b4..41c6ba74efc 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_price_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePos return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePos m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricePostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go index b7ad3856307..dd7223e3d39 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricedisc_price_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricedis return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricedis func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricedis m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPriceDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricediscPri ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go index cd8cd8405bc..e4d08d05415 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pricemat_price_mat_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricemat return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricemat func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["yld"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetYld(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetYld(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetYld gets the yld property value. The yld property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("yld") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricemat m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) } } // SetYld sets the yld property value. The yld property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPriceMatPostRequestBody) SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("yld", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPricematPric ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetYld()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetYld()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetYld(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetYld(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_product_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_product_post_request_body.go index 0b6187b7071..35cd7930528 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_product_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_product_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductP m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProductPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_proper_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_proper_post_request_body.go index 9c28f39ed4b..d25c7872835 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_proper_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_proper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPo m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsProperPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pv_post_request_body.go index 913015c0e31..ea01d8adf4d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_pv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,114 +45,114 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRe func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRe m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsPvPostReques ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go index 4a70301be12..b92cc03cddb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_exc_quartile_exc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_excQuartile_ExcPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_exc i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go index 61fe3e156c3..0f387f65755 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quartile_inc_quartile_inc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["quart"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetQuart(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetQuart(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetQuart gets the quart property value. The quart property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("quart") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile m.backingStore = value } // SetQuart sets the quart property value. The quart property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_incQuartile_IncPostRequestBody) SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("quart", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuartile_inc i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetQuart()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetQuart()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetQuart(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetQuart(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quotient_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quotient_post_request_body.go index 99efd91cf4b..fe63a368a51 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quotient_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_quotient_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotient return m.backingStore } // GetDenominator gets the denominator property value. The denominator property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("denominator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotient func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["denominator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDenominator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDenominator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numerator"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumerator(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumerator(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumerator gets the numerator property value. The numerator property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numerator") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotient m.backingStore = value } // SetDenominator sets the denominator property value. The denominator property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("denominator", value) if err != nil { panic(err) } } // SetNumerator sets the numerator property value. The numerator property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPostRequestBody) SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numerator", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsQuotientPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDenominator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumerator()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDenominator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumerator()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDenominator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumerator(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDenominator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumerator(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_radians_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_radians_post_request_body.go index f050bca249b..1521c56061d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_radians_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_radians_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansP return val.(map[string]any) } // GetAngle gets the angle property value. The angle property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("angle") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["angle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAngle(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAngle(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansP } } // SetAngle sets the angle property value. The angle property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostRequestBody) SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("angle", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRadiansPostR i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAngle()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAngle()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetAngle(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetAngle(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go index 30eeb263f16..1eac79b65c2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_randbetween_rand_between_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetw return m.backingStore } // GetBottom gets the bottom property value. The bottom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("bottom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetw func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["bottom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBottom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBottom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTop(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTop(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTop gets the top property value. The top property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("top") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetw m.backingStore = value } // SetBottom sets the bottom property value. The bottom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("bottom", value) if err != nil { panic(err) } } // SetTop sets the top property value. The top property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenRandBetweenPostRequestBody) SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("top", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRandbetweenR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBottom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTop()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBottom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTop()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBottom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTop(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBottom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTop(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go index 6c0d2cd9e7f..6f270351b0d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_avg_rank_avg_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avg func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avg m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank_AvgPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_avgRank ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go index a04dfb601db..dae29fa3804 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rank_eq_rank_eq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["order"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOrder(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOrder(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["ref"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRef(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRef(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOrder gets the order property value. The order property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("order") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRef gets the ref property value. The ref property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("ref") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetOrder sets the order property value. The order property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("order", value) if err != nil { panic(err) } } // SetRef sets the ref property value. The ref property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_EqPostRequestBody) SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("ref", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRank_eqRank_ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOrder()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRef()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOrder()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRef()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOrder(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRef(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOrder(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRef(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rate_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rate_post_request_body.go index d0d20147f08..902eba1f198 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rate_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rate_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,136 +45,136 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pmt"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPmt(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPmt(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTypeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTypeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPmt gets the pmt property value. The pmt property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pmt") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTypeEscaped gets the type property value. The type property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePost m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPmt sets the pmt property value. The pmt property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pmt", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) } } // SetTypeEscaped sets the type property value. The type property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequestBody) SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRatePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPmt()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTypeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPmt()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTypeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPmt(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTypeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPmt(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTypeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_received_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_received_post_request_body.go index 9e626d3029e..87eb40b76ac 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_received_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_received_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceived return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,90 +69,90 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceived func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["investment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInvestment(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInvestment(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInvestment gets the investment property value. The investment property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("investment") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceived m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetInvestment sets the investment property value. The investment property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("investment", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReceivedPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetInvestment()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetInvestment()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetInvestment(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetInvestment(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replace_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replace_post_request_body.go index f7fd692c19c..026452bec51 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replace_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replace_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplaceP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplaceP m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacePostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go index 804ccae7c29..0494cad1cff 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_replaceb_replace_b_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplaceb func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartNum gets the startNum property value. The startNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplaceb m.backingStore = value } // SetNewText sets the newText property value. The newText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetStartNum sets the startNum property value. The startNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebReplaceBPostRequestBody) SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startNum", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReplacebRepl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rept_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rept_post_request_body.go index 3544bd5ec69..2d0176aff84 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rept_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rept_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numberTimes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumberTimes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumberTimes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumberTimes gets the numberTimes property value. The numberTimes property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numberTimes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPost m.backingStore = value } // SetNumberTimes sets the numberTimes property value. The numberTimes property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numberTimes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsReptPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumberTimes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumberTimes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumberTimes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumberTimes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_right_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_right_post_request_body.go index 0c886af6f83..707dab51f3d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_right_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_right_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numChars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumChars(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumChars(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumChars gets the numChars property value. The numChars property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numChars") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPos m.backingStore = value } // SetNumChars sets the numChars property value. The numChars property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numChars", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumChars()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumChars()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumChars(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumChars(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rightb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rightb_post_request_body.go index 1574a0f3ca7..266426fd36b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rightb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rightb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["numBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumBytes(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumBytes(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumBytes gets the numBytes property value. The numBytes property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numBytes") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPo m.backingStore = value } // SetNumBytes sets the numBytes property value. The numBytes property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numBytes", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRightbPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumBytes()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumBytes()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumBytes(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumBytes(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roman_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roman_post_request_body.go index f067e4c2a38..9cb4955f703 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roman_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roman_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["form"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetForm(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetForm(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetForm gets the form property value. The form property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("form") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPos m.backingStore = value } // SetForm sets the form property value. The form property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("form", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRomanPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetForm()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetForm()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetForm(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetForm(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_round_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_round_post_request_body.go index 76a8c0e2251..aa6d759d66b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_round_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_round_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go index 861ddf49fa7..f0d08d8bc3f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rounddown_round_down_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddow func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddow m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRoundDownPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRounddownRou ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go index 8fdb4c36990..53a280e7230 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_roundup_round_up_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRoundUpPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRoundupRound ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rows_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rows_post_request_body.go index 0606adc1d85..e4a7a661d2c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rows_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rows_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPost return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,12 +57,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -93,7 +92,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPost } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -107,8 +106,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRowsPostRequ i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rri_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rri_post_request_body.go index 031a700d5bd..392b2296bda 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rri_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_rri_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["fv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["nper"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNper(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNper(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pv"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPv(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPv(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFv gets the fv property value. The fv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("fv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNper gets the nper property value. The nper property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("nper") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPv gets the pv property value. The pv property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pv") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostR m.backingStore = value } // SetFv sets the fv property value. The fv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("fv", value) if err != nil { panic(err) } } // SetNper sets the nper property value. The nper property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("nper", value) if err != nil { panic(err) } } // SetPv sets the pv property value. The pv property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostRequestBody) SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pv", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsRriPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNper()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPv()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNper()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPv()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNper(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPv(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNper(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPv(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sec_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sec_post_request_body.go index 42195a056c8..1959c697976 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sec_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sec_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sech_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sech_post_request_body.go index 3efd4d49b38..74389704e09 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sech_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sech_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSechPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_second_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_second_post_request_body.go index e60fc141954..5a488f9d3b0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_second_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_second_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPo m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSecondPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go index 78339fa6365..0052159585f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_seriessum_series_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessu return m.backingStore } // GetCoefficients gets the coefficients property value. The coefficients property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("coefficients") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["coefficients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCoefficients(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCoefficients(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["m"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetM(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetM(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["n"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetN(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetN(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetM gets the m property value. The m property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("m") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetN gets the n property value. The n property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("n") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessu m.backingStore = value } // SetCoefficients sets the coefficients property value. The coefficients property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("coefficients", value) if err != nil { panic(err) } } // SetM sets the m property value. The m property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("m", value) if err != nil { panic(err) } } // SetN sets the n property value. The n property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("n", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSeriesSumPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSeriessumSer ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCoefficients()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetM()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetN()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCoefficients()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetM()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetN()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCoefficients(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetM(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetN(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCoefficients(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetM(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetN(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheet_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheet_post_request_body.go index 0e62e56bd81..6ae1c68a346 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheet_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheet_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPos m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheets_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheets_post_request_body.go index aed518c4988..299ec10d3bf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheets_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sheets_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPo m.backingStore = value } // SetReference sets the reference property value. The reference property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSheetsPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sign_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sign_post_request_body.go index b908b66b4cb..6e4fd72f617 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sign_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sign_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSignPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sin_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sin_post_request_body.go index d66737f5358..485b2a7daec 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sin_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sin_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sinh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sinh_post_request_body.go index 6c402ebefc0..9a956be5f19 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sinh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sinh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSinhPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go index b4c6e13771f..ec1601e3a3b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPo func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPo m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkew_pPostRe ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_post_request_body.go index c9389b4ddb4..8c3446d6ada 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_skew_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPost m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSkewPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sln_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sln_post_request_body.go index 5a0945d1d71..26b14213a6c 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sln_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sln_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostR return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostR m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSlnPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_small_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_small_post_request_body.go index 8749f90ea61..97e0d4779c5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_small_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_small_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPos return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["k"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetK(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetK(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetK gets the k property value. The k property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("k") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPos } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPos m.backingStore = value } // SetK sets the k property value. The k property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostRequestBody) SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("k", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSmallPostReq i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetK()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetK()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetK(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetK(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go index 39907b7b109..e4b36eb8ad6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrt_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go index 034f87a2ac3..1323f0aba32 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sqrtpi_sqrt_pi_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSq func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSq m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPiPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSqrtpiSqrtPi ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_standardize_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_standardize_post_request_body.go index 8c113511659..507cea57de9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_standardize_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_standardize_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandard func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["mean"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMean(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMean(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["standardDev"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStandardDev(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStandardDev(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMean gets the mean property value. The mean property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("mean") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStandardDev gets the standardDev property value. The standardDev property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("standardDev") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandard m.backingStore = value } // SetMean sets the mean property value. The mean property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("mean", value) if err != nil { panic(err) } } // SetStandardDev sets the standardDev property value. The standardDev property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("standardDev", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizePostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStandardizeP ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMean()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStandardDev()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMean()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStandardDev()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMean(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStandardDev(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMean(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStandardDev(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go index 9fc3525d512..13ae671a3c1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_p_st_dev_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pS m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_pStDev ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go index 4f2aa559dfd..fbbdffdc7b5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdev_s_st_dev_s_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sS m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdev_sStDev ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go index 14ac79c4290..1d56398ac84 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdeva_st_dev_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaSt func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaSt m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevaStDevA ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go index a9d64f9537c..cef70dd7b7e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_stdevpa_st_dev_p_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaS func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaS m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDevPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsStdevpaStDev ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_substitute_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_substitute_post_request_body.go index 362a5aa188a..4fba91bf698 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_substitute_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_substitute_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,92 +45,92 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["instanceNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetInstanceNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetInstanceNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["newText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNewText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNewText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["oldText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetOldText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetOldText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetInstanceNum gets the instanceNum property value. The instanceNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("instanceNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNewText gets the newText property value. The newText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("newText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetOldText gets the oldText property value. The oldText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("oldText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitu m.backingStore = value } // SetInstanceNum sets the instanceNum property value. The instanceNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("instanceNum", value) if err != nil { panic(err) } } // SetNewText sets the newText property value. The newText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("newText", value) if err != nil { panic(err) } } // SetOldText sets the oldText property value. The oldText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("oldText", value) if err != nil { panic(err) } } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubstitutePo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetInstanceNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNewText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetOldText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetInstanceNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNewText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetOldText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetInstanceNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNewText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetOldText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetInstanceNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNewText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetOldText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go index 537b8f47dc3..d3fa00b55c2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_subtotal_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotal func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["functionNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFunctionNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFunctionNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFunctionNum gets the functionNum property value. The functionNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("functionNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotal m.backingStore = value } // SetFunctionNum sets the functionNum property value. The functionNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("functionNum", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSubtotalPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFunctionNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFunctionNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFunctionNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFunctionNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sum_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sum_post_request_body.go index 40c71e8d7cc..6baeb8cb052 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sum_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sum_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go index 90aff029a1b..3f32fd96553 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumif_sum_if_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSum return m.backingStore } // GetCriteria gets the criteria property value. The criteria property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("criteria") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSum func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["criteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCriteria(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCriteria(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["range"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeEscaped(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeEscaped(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRangeEscaped gets the range property value. The range property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeEscaped") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSum m.backingStore = value } // SetCriteria sets the criteria property value. The criteria property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("criteria", value) if err != nil { panic(err) } } // SetRangeEscaped sets the range property value. The range property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeEscaped", value) if err != nil { panic(err) } } // SetSumRange sets the sumRange property value. The sumRange property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifSumIfPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCriteria()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeEscaped()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCriteria()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeEscaped()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCriteria(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeEscaped(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCriteria(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeEscaped(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go index f26b230f23b..d3606b36f2b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumifs_sum_ifs_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["sumRange"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSumRange(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSumRange(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSumRange gets the sumRange property value. The sumRange property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sumRange") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSu m.backingStore = value } // SetSumRange sets the sumRange property value. The sumRange property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sumRange", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfsPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumifsSumIfs ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSumRange()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSumRange()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSumRange(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSumRange(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go index cbe67726be7..4d2542b9726 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_sumsq_sum_sq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSum func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSum m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSumsqSumSqPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_syd_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_syd_post_request_body.go index 61f60cb84fe..69b071e8d4e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_syd_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_syd_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostR return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["per"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPer(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPer(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPer gets the per property value. The per property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("per") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostR m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetPer sets the per property value. The per property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("per", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsSydPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPer()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPer(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go index d09e1e60ac5..8fff892883f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_2t_t_dist_2_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2 return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2 func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2 m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_Dist_2TPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_2tT_D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go index d7752411225..15fc9a40f73 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_rt_t_dist_r_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_r return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_r func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_r m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_Dist_RTPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_dist_rtT_D ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go index 30111dcd938..de885780cb6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_dist_t_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_ return m.backingStore } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_ m.backingStore = value } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_distT_Dist ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go index dd2bfbbe9e1..47d9056aca6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_2t_t_inv_2_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2t return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2t func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2t m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_Inv_2TPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_inv_2tT_In ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go index fc9065387d0..a3eaab8e804 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_inv_t_inv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_I return m.backingStore } // GetDegFreedom gets the degFreedom property value. The degFreedom property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("degFreedom") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_I func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["degFreedom"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDegFreedom(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDegFreedom(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["probability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetProbability(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetProbability(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetProbability gets the probability property value. The probability property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("probability") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_I m.backingStore = value } // SetDegFreedom sets the degFreedom property value. The degFreedom property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("degFreedom", value) if err != nil { panic(err) } } // SetProbability sets the probability property value. The probability property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPostRequestBody) SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("probability", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsT_invT_InvPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDegFreedom()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetProbability()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDegFreedom()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetProbability()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDegFreedom(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetProbability(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDegFreedom(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetProbability(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_post_request_body.go index ef6eb3cf296..8f3dc65f4ec 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_t_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostReq func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostReq m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTPostRequest ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tan_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tan_post_request_body.go index 0b3546a6d53..d67904a814e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tan_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tan_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostR m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tanh_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tanh_post_request_body.go index 4bc895e05c8..fe2a596450d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tanh_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tanh_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPost m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTanhPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go index e4af64b15ec..3dbde29b717 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbilleq_tbill_eq_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqT return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqT func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqT m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbillEqPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbilleqTbill ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go index 5caf9d5b5e2..0f9b1ef3f7e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillprice_tbill_price_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpri return m.backingStore } // GetDiscount gets the discount property value. The discount property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("discount") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpri func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["discount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDiscount(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDiscount(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpri m.backingStore = value } // SetDiscount sets the discount property value. The discount property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("discount", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTbillPricePostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillpriceTb ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDiscount()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDiscount()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDiscount(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDiscount(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go index 7de0b543ef7..25ca1f6ba50 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_tbillyield_tbill_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyie func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyie m.backingStore = value } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTbillYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTbillyieldTb ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_text_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_text_post_request_body.go index a9f620177a2..e5e06404a10 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_text_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_text_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["formatText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFormatText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFormatText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFormatText gets the formatText property value. The formatText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("formatText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPost m.backingStore = value } // SetFormatText sets the formatText property value. The formatText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("formatText", value) if err != nil { panic(err) } } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTextPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetFormatText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetFormatText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetFormatText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetFormatText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_time_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_time_post_request_body.go index cd41dfe829a..7cc1d64ab38 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_time_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_time_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,70 +45,70 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["hour"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHour(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHour(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["minute"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMinute(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMinute(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["second"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSecond(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSecond(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHour gets the hour property value. The hour property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("hour") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMinute gets the minute property value. The minute property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("minute") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSecond gets the second property value. The second property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("second") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePost m.backingStore = value } // SetHour sets the hour property value. The hour property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("hour", value) if err != nil { panic(err) } } // SetMinute sets the minute property value. The minute property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("minute", value) if err != nil { panic(err) } } // SetSecond sets the second property value. The second property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequestBody) SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("second", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetHour()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMinute()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSecond()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetHour()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMinute()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSecond()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetHour(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMinute(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSecond(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetHour(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMinute(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSecond(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go index b34b10f76d4..0b0b6a6834e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_timevalue_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevalu func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["timeText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTimeText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTimeText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetTimeText gets the timeText property value. The timeText property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("timeText") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevalu m.backingStore = value } // SetTimeText sets the timeText property value. The timeText property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePostRequestBody) SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("timeText", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTimevaluePos ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetTimeText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetTimeText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetTimeText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetTimeText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trim_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trim_post_request_body.go index ecd0ec3f029..d2bf30c7084 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trim_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trim_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPost m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go index 146fd502506..e6e6c303470 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trimmean_trim_mean_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmean return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmean func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["percent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPercent(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPercent(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetPercent gets the percent property value. The percent property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("percent") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -121,7 +120,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmean } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmean m.backingStore = value } // SetPercent sets the percent property value. The percent property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrimMeanPostRequestBody) SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("percent", value) if err != nil { panic(err) @@ -142,10 +141,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTrimmeanTrim i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetPercent()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetPercent()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetPercent(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetPercent(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trunc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trunc_post_request_body.go index eef65cddb8f..5f1799084cf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trunc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_trunc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["numDigits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumDigits(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumDigits(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNumDigits gets the numDigits property value. The numDigits property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("numDigits") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPos m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) } } // SetNumDigits sets the numDigits property value. The numDigits property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostRequestBody) SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("numDigits", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTruncPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumDigits()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumDigits()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumDigits(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumDigits(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_type_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_type_post_request_body.go index 3c0392962fa..5fb7933e3d1 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_type_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_type_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValue gets the value property value. The value property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePost m.backingStore = value } // SetValue sets the value property value. The value property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequestBody) SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsTypePostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unichar_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unichar_post_request_body.go index 1b7eccfe07e..f966a0bede8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unichar_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unichar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharP m.backingStore = value } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicharPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unicode_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unicode_post_request_body.go index 8c58a6501df..72b5492e817 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unicode_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_unicode_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodeP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodeP m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUnicodePostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_upper_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_upper_post_request_body.go index 4e85fb356d3..3aff10516e6 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_upper_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_upper_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPos m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUpperPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go index 9a8d544a5ff..c45c9265d55 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_usdollar_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollar return m.backingStore } // GetDecimals gets the decimals property value. The decimals property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("decimals") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollar func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["decimals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDecimals(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDecimals(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetNumber gets the number property value. The number property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("number") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollar m.backingStore = value } // SetDecimals sets the decimals property value. The decimals property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("decimals", value) if err != nil { panic(err) } } // SetNumber sets the number property value. The number property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPostRequestBody) SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("number", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsUsdollarPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDecimals()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDecimals()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDecimals(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDecimals(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_value_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_value_post_request_body.go index 985555bc4a4..d1c0813d789 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_value_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_value_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetText(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetText gets the text property value. The text property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("text") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePos m.backingStore = value } // SetText sets the text property value. The text property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostRequestBody) SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsValuePostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetText()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetText(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go index 445cb063a9f..af899b73eec 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_p_var_p_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_pVar_PPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go index 35ff281eedd..18c578bdda5 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_var_s_var_s_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVar_sVar_SPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go index 70294cc2e4c..0217b1ea19d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vara_var_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarA func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarA m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVaraVarAPost ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go index b635ce1515e..f399e56f61b 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_varpa_var_p_a_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVar func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVar m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVarpaVarPAPo ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vdb_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vdb_post_request_body.go index 7d9da0ec96e..7a30c7b7c71 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vdb_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vdb_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,38 +41,38 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostR return m.backingStore } // GetCost gets the cost property value. The cost property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cost") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndPeriod gets the endPeriod property value. The endPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetFactor gets the factor property value. The factor property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("factor") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,122 +81,122 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["cost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCost(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCost(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["factor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFactor(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFactor(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["life"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLife(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLife(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["noSwitch"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetNoSwitch(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetNoSwitch(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["salvage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSalvage(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSalvage(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartPeriod(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartPeriod(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLife gets the life property value. The life property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("life") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetNoSwitch gets the noSwitch property value. The noSwitch property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("noSwitch") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSalvage gets the salvage property value. The salvage property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("salvage") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartPeriod gets the startPeriod property value. The startPeriod property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startPeriod") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostR m.backingStore = value } // SetCost sets the cost property value. The cost property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cost", value) if err != nil { panic(err) } } // SetEndPeriod sets the endPeriod property value. The endPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endPeriod", value) if err != nil { panic(err) } } // SetFactor sets the factor property value. The factor property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("factor", value) if err != nil { panic(err) } } // SetLife sets the life property value. The life property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("life", value) if err != nil { panic(err) } } // SetNoSwitch sets the noSwitch property value. The noSwitch property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("noSwitch", value) if err != nil { panic(err) } } // SetSalvage sets the salvage property value. The salvage property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("salvage", value) if err != nil { panic(err) } } // SetStartPeriod sets the startPeriod property value. The startPeriod property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostRequestBody) SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startPeriod", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVdbPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCost()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFactor()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLife()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetNoSwitch()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSalvage()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartPeriod()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetCost()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFactor()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLife()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetNoSwitch()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSalvage()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartPeriod()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCost(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFactor(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLife(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetNoSwitch(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSalvage(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartPeriod(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetCost(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFactor(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLife(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetNoSwitch(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSalvage(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartPeriod(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go index 755d1158e3d..90ba1764cdf 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_vlookup_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupP return m.backingStore } // GetColIndexNum gets the colIndexNum property value. The colIndexNum property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("colIndexNum") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["colIndexNum"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetColIndexNum(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetColIndexNum(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["lookupValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetLookupValue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetLookupValue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rangeLookup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRangeLookup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRangeLookup(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["tableArray"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetTableArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetTableArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetLookupValue gets the lookupValue property value. The lookupValue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("lookupValue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRangeLookup gets the rangeLookup property value. The rangeLookup property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rangeLookup") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetTableArray gets the tableArray property value. The tableArray property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("tableArray") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupP m.backingStore = value } // SetColIndexNum sets the colIndexNum property value. The colIndexNum property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("colIndexNum", value) if err != nil { panic(err) } } // SetLookupValue sets the lookupValue property value. The lookupValue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("lookupValue", value) if err != nil { panic(err) } } // SetRangeLookup sets the rangeLookup property value. The rangeLookup property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rangeLookup", value) if err != nil { panic(err) } } // SetTableArray sets the tableArray property value. The tableArray property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostRequestBody) SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("tableArray", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsVlookupPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetColIndexNum()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetLookupValue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRangeLookup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetTableArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetColIndexNum()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetLookupValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRangeLookup()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetTableArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetColIndexNum(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetLookupValue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRangeLookup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetTableArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetColIndexNum(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetLookupValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRangeLookup(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetTableArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weekday_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weekday_post_request_body.go index 162d1c445ec..687574fe533 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weekday_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weekday_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayP func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayP m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeekdayPostR ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go index 6b0725473e8..7a2a6b3aa22 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weeknum_week_num_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,48 +45,48 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumW func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["returnType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReturnType(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReturnType(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetReturnType gets the returnType property value. The returnType property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("returnType") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumW m.backingStore = value } // SetReturnType sets the returnType property value. The returnType property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("returnType", value) if err != nil { panic(err) } } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekNumPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeeknumWeekN ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetReturnType()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReturnType()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetReturnType(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReturnType(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go index 5eaf924bc78..46380ac2880 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_weibull_dist_weibull_dist_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_ return val.(map[string]any) } // GetAlpha gets the alpha property value. The alpha property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("alpha") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -54,26 +53,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_ return m.backingStore } // GetBeta gets the beta property value. The beta property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("beta") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetCumulative gets the cumulative property value. The cumulative property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("cumulative") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -82,56 +81,56 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["alpha"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAlpha(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetAlpha(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["beta"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBeta(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBeta(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["cumulative"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetCumulative(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetCumulative(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -177,7 +176,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_ } } // SetAlpha sets the alpha property value. The alpha property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("alpha", value) if err != nil { panic(err) @@ -188,21 +187,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_ m.backingStore = value } // SetBeta sets the beta property value. The beta property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("beta", value) if err != nil { panic(err) } } // SetCumulative sets the cumulative property value. The cumulative property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("cumulative", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_distWeibull_DistPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -212,14 +211,14 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWeibull_dist i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAlpha()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetAlpha()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBeta()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetCumulative()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetAlpha(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetBeta()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetCumulative()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetAlpha(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBeta(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetCumulative(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBeta(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetCumulative(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go index 0e107394146..f1f7f8a04c2 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_intl_work_day_intl_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_ return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,80 +57,80 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["weekend"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetWeekend(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetWeekend(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetWeekend gets the weekend property value. The weekend property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("weekend") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -181,28 +180,28 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_ m.backingStore = value } // SetDays sets the days property value. The days property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) } } // SetWeekend sets the weekend property value. The weekend property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intlWorkDay_IntlPostRequestBody) SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("weekend", value) if err != nil { panic(err) @@ -213,13 +212,13 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkday_intl ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetWeekend()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetWeekend()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetWeekend(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetWeekend(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go index d5dacfccbb9..75120eaeb81 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_workday_work_day_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayW return m.backingStore } // GetDays gets the days property value. The days property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("days") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayW func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["days"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["holidays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetHolidays(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetHolidays(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetHolidays gets the holidays property value. The holidays property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("holidays") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayW m.backingStore = value } // SetDays sets the days property value. The days property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("days", value) if err != nil { panic(err) } } // SetHolidays sets the holidays property value. The holidays property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("holidays", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkDayPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsWorkdayWorkD ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetHolidays()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetHolidays()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetHolidays(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetHolidays(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xirr_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xirr_post_request_body.go index 26715e1688e..5cd2d79cd7a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xirr_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xirr_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPost return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["guess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetGuess(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetGuess(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetGuess gets the guess property value. The guess property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("guess") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPost m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetGuess sets the guess property value. The guess property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("guess", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXirrPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetGuess()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetGuess()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetGuess(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetGuess(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go index 7f3a875f1c3..76c3b7cac97 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xnpv_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPost return m.backingStore } // GetDates gets the dates property value. The dates property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("dates") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["dates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDates(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetDates(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPost m.backingStore = value } // SetDates sets the dates property value. The dates property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("dates", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXnpvPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetDates()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetDates()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetDates(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetDates(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xor_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xor_post_request_body.go index 1ce6fd5fd1e..935dbd45749 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xor_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_xor_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostR func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostR m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsXorPostReque ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_year_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_year_post_request_body.go index 12568818379..b7494cb8087 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_year_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_year_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPost func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSerialNumber(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSerialNumber(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSerialNumber gets the serialNumber property value. The serialNumber property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPost m.backingStore = value } // SetSerialNumber sets the serialNumber property value. The serialNumber property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequestBody) SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearPostRequ ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSerialNumber()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSerialNumber()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSerialNumber(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSerialNumber(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go index 989dcf33548..47292b27ce3 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yearfrac_year_frac_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,26 +41,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfrac return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetEndDate gets the endDate property value. The endDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -70,46 +69,46 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfrac func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["endDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartDate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartDate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartDate gets the startDate property value. The startDate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startDate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -153,21 +152,21 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfrac m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetEndDate sets the endDate property value. The endDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endDate", value) if err != nil { panic(err) } } // SetStartDate sets the startDate property value. The startDate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYearFracPostRequestBody) SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startDate", value) if err != nil { panic(err) @@ -178,11 +177,11 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYearfracYear ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetEndDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartDate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetEndDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartDate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetEndDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartDate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetEndDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartDate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yield_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yield_post_request_body.go index 5eb9242b0d4..a9169b94c3d 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yield_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yield_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPos return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,146 +57,146 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPos func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["frequency"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetFrequency(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetFrequency(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetFrequency gets the frequency property value. The frequency property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("frequency") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -265,49 +264,49 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPos m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetFrequency sets the frequency property value. The frequency property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("frequency", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -318,19 +317,19 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldPostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetFrequency()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetFrequency()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetFrequency(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetFrequency(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go index abae52ff653..228472e7d08 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yielddisc_yield_disc_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddis return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,102 +57,102 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddis func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["redemption"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRedemption(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRedemption(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRedemption gets the redemption property value. The redemption property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("redemption") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -209,35 +208,35 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddis m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRedemption sets the redemption property value. The redemption property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("redemption", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYieldDiscPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -248,15 +247,15 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYielddiscYie ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRedemption()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRedemption()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRedemption(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRedemption(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go index 3747c78a935..70300b5181e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_yieldmat_yield_mat_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmat return m.backingStore } // GetBasis gets the basis property value. The basis property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("basis") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,124 +57,124 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmat func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["basis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetBasis(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetBasis(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["issue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetIssue(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetIssue(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["maturity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetMaturity(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetMaturity(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["pr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetPr(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetPr(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["rate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetRate(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetRate(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["settlement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSettlement(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSettlement(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetIssue gets the issue property value. The issue property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("issue") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetMaturity gets the maturity property value. The maturity property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("maturity") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetPr gets the pr property value. The pr property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("pr") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetRate gets the rate property value. The rate property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("rate") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetSettlement gets the settlement property value. The settlement property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("settlement") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -237,42 +236,42 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmat m.backingStore = value } // SetBasis sets the basis property value. The basis property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("basis", value) if err != nil { panic(err) } } // SetIssue sets the issue property value. The issue property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("issue", value) if err != nil { panic(err) } } // SetMaturity sets the maturity property value. The maturity property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("maturity", value) if err != nil { panic(err) } } // SetPr sets the pr property value. The pr property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("pr", value) if err != nil { panic(err) } } // SetRate sets the rate property value. The rate property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("rate", value) if err != nil { panic(err) } } // SetSettlement sets the settlement property value. The settlement property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYieldMatPostRequestBody) SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("settlement", value) if err != nil { panic(err) @@ -283,17 +282,17 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsYieldmatYiel ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBasis()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetIssue()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetMaturity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetPr()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetRate()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetSettlement()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetBasis()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetIssue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetMaturity()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetPr()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetRate()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetSettlement()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBasis(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetIssue(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetMaturity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetPr(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetRate(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetSettlement(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetBasis(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetIssue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetMaturity(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetPr(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetRate(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetSettlement(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go index aa0179bea24..2ed6f25d8c9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_functions_z_test_z_test_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,14 +36,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_ return val.(map[string]any) } // GetArray gets the array property value. The array property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("array") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,58 +57,58 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["array"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetArray(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetArray(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["sigma"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSigma(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSigma(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["x"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetX(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetX(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetSigma gets the sigma property value. The sigma property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sigma") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } // GetX gets the x property value. The x property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("x") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -149,7 +148,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_ } } // SetArray sets the array property value. The array property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("array", value) if err != nil { panic(err) @@ -160,14 +159,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_ m.backingStore = value } // SetSigma sets the sigma property value. The sigma property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sigma", value) if err != nil { panic(err) } } // SetX sets the x property value. The x property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_TestPostRequestBody) SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("x", value) if err != nil { panic(err) @@ -177,12 +176,12 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookFunctionsZ_testZ_Test i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetArray()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetArray()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetSigma()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetX()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - SetArray(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + GetSigma()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetX()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + SetArray(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetSigma(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetX(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSigma(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetX(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_names_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_names_add_post_request_body.go index 8fed2f43629..10fddece3b8 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_names_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_names_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostReque return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostReque return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostReque } } // SetReference sets the reference property value. The reference property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookNamesAddPostRequestBo GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_operations_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_operations_request_builder.go index 5350c0d323e..5553538d075 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_operations_request_builder.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_operations_request_builder.go @@ -13,14 +13,22 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuil } // FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetQueryParameters the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. type FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` } // FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration struct { @@ -53,7 +61,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequest // NewFilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilder and sets the default values. func NewFilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilder) { m := &FilestorageDeletedcontainersItemDriveItemsItemWorkbookOperationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24expand,%24orderby,%24search,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go index 333b00c97fd..b718576d1e4 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumns return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumns return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumns } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsAddP GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index 283a429222c..65e3781a215 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumns func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumns m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemColumnsItem ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go index ef505561f26..908d75fd863 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAdd return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAdd return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAdd } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookTablesItemRowsAddPost i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go index 84dd6aee536..e05762e5d10 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -90,14 +89,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -160,7 +159,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsAddPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -179,10 +178,10 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsA i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) GetTypeEscaped()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() SetTypeEscaped(value *string)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go index 8df4dc20a31..bc0062275a9 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go index 06f9ddfde8f..c9045b46b60 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_item_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go index cf9f0895f48..7120eeceeb0 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go index fbecbbe0d10..cc8438edc94 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itematwithindex_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItematwithindexSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go index aede6bb7c55..5d2e58ccccb 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setdata_set_data_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } res["sourceData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetSourceData(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetSourceData(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return nil } // GetSourceData gets the sourceData property value. The sourceData property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("sourceData") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha } } // SetSourceData sets the sourceData property value. The sourceData property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetdataSetDataPostRequestBody) SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("sourceData", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetSeriesBy()(*string) - GetSourceData()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetSourceData()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetSeriesBy(value *string)() - SetSourceData(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetSourceData(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go index 37a17c2a027..b3311d6fbce 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_charts_itemwithname_setposition_set_position_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -42,14 +41,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha return m.backingStore } // GetEndCell gets the endCell property value. The endCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("endCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -58,36 +57,36 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["endCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetEndCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetEndCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } res["startCell"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetStartCell(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetStartCell(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetStartCell gets the startCell property value. The startCell property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("startCell") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -125,14 +124,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemCha m.backingStore = value } // SetEndCell sets the endCell property value. The endCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("endCell", value) if err != nil { panic(err) } } // SetStartCell sets the startCell property value. The startCell property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsItemwithnameSetpositionSetPositionPostRequestBody) SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("startCell", value) if err != nil { panic(err) @@ -143,9 +142,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemChartsI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetEndCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) - GetStartCell()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetEndCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) + GetStartCell()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetEndCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() - SetStartCell(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetEndCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() + SetStartCell(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go index 864a465cceb..00d3e2ea214 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_names_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -78,12 +77,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNam return nil } res["reference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetReference(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetReference(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNam return nil } // GetReference gets the reference property value. The reference property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("reference") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNam } } // SetReference sets the reference property value. The reference property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNamesAddPostRequestBody) SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("reference", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemNamesAd GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetComment()(*string) GetName()(*string) - GetReference()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetReference()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetComment(value *string)() SetName(value *string)() - SetReference(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetReference(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go index 9f1e2026386..f833251e47a 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -66,12 +65,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -102,14 +101,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -167,7 +166,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -180,9 +179,9 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesI GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) GetName()(*string) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() SetName(value *string)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go index dc8b82e293f..397a2339642 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_columns_item_filter_applyvaluesfilter_apply_values_filter_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -46,26 +45,26 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } return res } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -97,7 +96,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab m.backingStore = value } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyvaluesfilterApplyValuesFilterPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -108,7 +107,7 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesI ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go index 62a86a60911..938969f514f 100644 --- a/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go +++ b/storage/filestorage_deletedcontainers_item_drive_items_item_workbook_worksheets_item_tables_item_rows_add_post_request_body.go @@ -2,7 +2,6 @@ package storage import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -56,12 +55,12 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab return nil } res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateJsonFromDiscriminatorValue) + val, err := n.GetObjectValue(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.CreateUntypedNodeFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetValues(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)) + m.SetValues(val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)) } return nil } @@ -80,14 +79,14 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab return nil } // GetValues gets the values property value. The values property -// returns a Jsonable when successful -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) { +// returns a UntypedNodeable when successful +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("values") if err != nil { panic(err) } if val != nil { - return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + return val.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) } return nil } @@ -132,7 +131,7 @@ func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTab } } // SetValues sets the values property value. The values property -func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() { +func (m *FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBody) SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("values", value) if err != nil { panic(err) @@ -144,8 +143,8 @@ type FilestorageDeletedcontainersItemDriveItemsItemWorkbookWorksheetsItemTablesI i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIndex()(*int32) - GetValues()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable) + GetValues()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIndex(value *int32)() - SetValues(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Jsonable)() + SetValues(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() } diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_count_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_count_request_builder.go new file mode 100644 index 00000000000..dd36473cf33 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetQueryParameters +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..38010f9a61a --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_response.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..05e2c78cb44 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..0e2d2fa38d9 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_response.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_response.go new file mode 100644 index 00000000000..20d5af2eb5b --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable instead. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse struct { + FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse{ + FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse: *NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponse(), + } + return m +} +// CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable instead. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantResponseable interface { + FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..540b4615369 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..9e6870775cd --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_permission_item_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..b581eacbed5 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from storage +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_request_builder.go new file mode 100644 index 00000000000..a991633837c --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_item_permissions_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.listItem entity. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters get permissions from storage +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetQueryParameters +} +// FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items/{listItem%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) Count()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from storage +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_list_item_item_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_list_item_item_request_builder.go index 2dc1843b575..82c18013b3e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_list_items_list_item_item_request_builder.go +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_list_item_item_request_builder.go @@ -155,6 +155,11 @@ func (m *FilestorageDeletedcontainersItemDriveListItemsListItemItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.listItem entity. +// returns a *FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListItemsListItemItemRequestBuilder) Permissions()(*FilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListItemsItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property items for storage // returns a *RequestInformation when successful func (m *FilestorageDeletedcontainersItemDriveListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/storage/filestorage_deletedcontainers_item_drive_list_items_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_items_request_builder.go index 42857394947..3964a9a4d7e 100644 --- a/storage/filestorage_deletedcontainers_item_drive_list_items_request_builder.go +++ b/storage/filestorage_deletedcontainers_item_drive_list_items_request_builder.go @@ -13,6 +13,8 @@ type FilestorageDeletedcontainersItemDriveListItemsRequestBuilder struct { } // FilestorageDeletedcontainersItemDriveListItemsRequestBuilderGetQueryParameters all items contained in the list. type FilestorageDeletedcontainersItemDriveListItemsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values @@ -59,7 +61,7 @@ func (m *FilestorageDeletedcontainersItemDriveListItemsRequestBuilder) ByListIte // NewFilestorageDeletedcontainersItemDriveListItemsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListItemsRequestBuilder and sets the default values. func NewFilestorageDeletedcontainersItemDriveListItemsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListItemsRequestBuilder) { m := &FilestorageDeletedcontainersItemDriveListItemsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_count_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_count_request_builder.go new file mode 100644 index 00000000000..f244c175ea6 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_count_request_builder.go @@ -0,0 +1,80 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder provides operations to count the resources in the collection. +type FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters get the number of the resource +type FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetQueryParameters +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/permissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_request_body.go new file mode 100644 index 00000000000..0cfe57603a8 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_request_body.go @@ -0,0 +1,169 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody()(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["recipients"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetRecipients(res) + } + return nil + } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRoles(res) + } + return nil + } + return res +} +// GetRecipients gets the recipients property value. The recipients property +// returns a []DriveRecipientable when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("recipients") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// GetRoles gets the roles property value. The roles property +// returns a []string when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) GetRoles()([]string) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRecipients() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients())) + for i, v := range m.GetRecipients() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("recipients", cast) + if err != nil { + return err + } + } + if m.GetRoles() != nil { + err := writer.WriteCollectionOfStringValues("roles", m.GetRoles()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRecipients sets the recipients property value. The recipients property +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("recipients", value) + if err != nil { + panic(err) + } +} +// SetRoles sets the roles property value. The roles property +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBody) SetRoles(value []string)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRecipients()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + GetRoles()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRecipients(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() + SetRoles(value []string)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_response.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_response.go new file mode 100644 index 00000000000..79ea6262cbd --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_post_response.go @@ -0,0 +1,89 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse()(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Permissionable when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_request_builder.go new file mode 100644 index 00000000000..51ad5c164dd --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_request_builder.go @@ -0,0 +1,99 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder provides operations to call the grant method. +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}/grant", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) +} +// Post grant users access to a link represented by a permission. +// Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. +// returns a FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseable), nil +} +// PostAsGrantPostResponse grant users access to a link represented by a permission. +// returns a FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable), nil +} +// ToPostRequestInformation grant users access to a link represented by a permission. +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_response.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_response.go new file mode 100644 index 00000000000..9bc10fdcea8 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_grant_response.go @@ -0,0 +1,27 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable instead. +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse struct { + FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse()(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse{ + FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse: *NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponse(), + } + return m +} +// CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponse(), nil +} +// Deprecated: This class is obsolete. Use FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable instead. +type FilestorageDeletedcontainersItemDriveListPermissionsItemGrantResponseable interface { + FilestorageDeletedcontainersItemDriveListPermissionsItemGrantPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go new file mode 100644 index 00000000000..757f488077b --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_post_request_body.go @@ -0,0 +1,126 @@ +package storage + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody()(*FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["grantees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDriveRecipientFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + } + m.SetGrantees(res) + } + return nil + } + return res +} +// GetGrantees gets the grantees property value. The grantees property +// returns a []DriveRecipientable when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) { + val, err := m.GetBackingStore().Get("grantees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + } + return nil +} +// Serialize serializes information the current object +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetGrantees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrantees())) + for i, v := range m.GetGrantees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("grantees", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGrantees sets the grantees property value. The grantees property +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBody) SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() { + err := m.GetBackingStore().Set("grantees", value) + if err != nil { + panic(err) + } +} +type FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGrantees()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGrantees(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRecipientable)() +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go new file mode 100644 index 00000000000..c085573f6a0 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_item_revokegrants_revoke_grants_request_builder.go @@ -0,0 +1,76 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder provides operations to call the revokeGrants method. +type FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}/revokeGrants", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) Post(ctx context.Context, body FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsPostRequestBodyable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_permission_item_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_permission_item_request_builder.go new file mode 100644 index 00000000000..764a69a93a8 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_permission_item_request_builder.go @@ -0,0 +1,167 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters get permissions from storage +type FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetQueryParameters +} +// FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property permissions for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get permissions from storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// Grant provides operations to call the grant method. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) Grant()(*FilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property permissions in storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// RevokeGrants provides operations to call the revokeGrants method. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) RevokeGrants()(*FilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsItemRevokegrantsRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property permissions in storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_permissions_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_permissions_request_builder.go new file mode 100644 index 00000000000..3404e79bd08 --- /dev/null +++ b/storage/filestorage_deletedcontainers_item_drive_list_permissions_request_builder.go @@ -0,0 +1,152 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder provides operations to manage the permissions property of the microsoft.graph.list entity. +type FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetQueryParameters get permissions from storage +type FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetQueryParameters +} +// FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) ByPermissionId(permissionId string)(*FilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if permissionId != "" { + urlTplParams["permission%2Did"] = permissionId + } + return NewFilestorageDeletedcontainersItemDriveListPermissionsPermissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderInternal instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) { + m := &FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive/list/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder instantiates a new FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder and sets the default values. +func NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) Count()(*FilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get permissions from storage +// returns a PermissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil +} +// Post create new navigation property to permissions for storage +// returns a Permissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePermissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil +} +// ToGetRequestInformation get permissions from storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to permissions for storage +// returns a *RequestInformation when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) WithUrl(rawUrl string)(*FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/filestorage_deletedcontainers_item_drive_list_request_builder.go b/storage/filestorage_deletedcontainers_item_drive_list_request_builder.go index 4735bcd5a2e..017969304b4 100644 --- a/storage/filestorage_deletedcontainers_item_drive_list_request_builder.go +++ b/storage/filestorage_deletedcontainers_item_drive_list_request_builder.go @@ -150,6 +150,11 @@ func (m *FilestorageDeletedcontainersItemDriveListRequestBuilder) Patch(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } +// Permissions provides operations to manage the permissions property of the microsoft.graph.list entity. +// returns a *FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder when successful +func (m *FilestorageDeletedcontainersItemDriveListRequestBuilder) Permissions()(*FilestorageDeletedcontainersItemDriveListPermissionsRequestBuilder) { + return NewFilestorageDeletedcontainersItemDriveListPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subscriptions provides operations to manage the subscriptions property of the microsoft.graph.list entity. // returns a *FilestorageDeletedcontainersItemDriveListSubscriptionsRequestBuilder when successful func (m *FilestorageDeletedcontainersItemDriveListRequestBuilder) Subscriptions()(*FilestorageDeletedcontainersItemDriveListSubscriptionsRequestBuilder) { diff --git a/subscribedskus/subscribed_skus_request_builder.go b/subscribedskus/subscribed_skus_request_builder.go index b811b513183..f576b080e4a 100644 --- a/subscribedskus/subscribed_skus_request_builder.go +++ b/subscribedskus/subscribed_skus_request_builder.go @@ -15,6 +15,8 @@ type SubscribedSkusRequestBuilder struct { type SubscribedSkusRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *SubscribedSkusRequestBuilder) BySubscribedSkuId(subscribedSkuId string) // NewSubscribedSkusRequestBuilderInternal instantiates a new SubscribedSkusRequestBuilder and sets the default values. func NewSubscribedSkusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubscribedSkusRequestBuilder) { m := &SubscribedSkusRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/subscribedSkus{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/subscribedSkus{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/subscriptions/subscriptions_request_builder.go b/subscriptions/subscriptions_request_builder.go index 6e4f7655ffa..b6e95617086 100644 --- a/subscriptions/subscriptions_request_builder.go +++ b/subscriptions/subscriptions_request_builder.go @@ -15,8 +15,12 @@ type SubscriptionsRequestBuilder struct { type SubscriptionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -57,7 +61,7 @@ func (m *SubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*S // NewSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values. func NewSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SubscriptionsRequestBuilder) { m := &SubscriptionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/subscriptions{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 00e12d1d283..72c3b8041d9 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Patch update the role of a conversationMember in a team.or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-beta func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_hostedcontents_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_hostedcontents_hosted_contents_request_builder.go index 1c10fc4e7cc..d38c8a70b3e 100644 --- a/teams/item_channels_item_messages_item_hostedcontents_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_hostedcontents_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +// ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters 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.s type ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder(r func (m *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder) Count()(*ItemChannelsItemMessagesItemHostedcontentsCountRequestBuilder) { return NewItemChannelsItemMessagesItemHostedcontentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// Get 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.s // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// ToGetRequestInformation 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.s // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedcontentsHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_hostedcontents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_hostedcontents_item_value_content_request_builder.go index b28c9f36be0..79083a7fbd3 100644 --- a/teams/item_channels_item_messages_item_hostedcontents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_hostedcontents_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilde } return nil } -// Get the unique identifier for an entity. Read-only. +// Get 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.s // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation 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.s // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go index 550e18c47cb..c78d5740a99 100644 --- a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +// ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. type ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Delet } return nil } -// Get replies for a specified message. Supports $expand for channel messages. +// Get retrieve a single message or a message reply in a channel or a chat. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +139,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_item_hostedcontents_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hostedcontents_hosted_contents_request_builder.go index ad7233f5bc9..4a41b69b6a9 100644 --- a/teams/item_channels_item_messages_item_replies_item_hostedcontents_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hostedcontents_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. +// ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters 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.s type ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsReque func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilder) Count()(*ItemChannelsItemMessagesItemRepliesItemHostedcontentsCountRequestBuilder) { return NewItemChannelsItemMessagesItemRepliesItemHostedcontentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. +// Get 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.s // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. +// ToGetRequestInformation 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.s // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedcontentsHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_item_hostedcontents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hostedcontents_item_value_content_request_builder.go index ca767fb2520..cfc6b6ee7b4 100644 --- a/teams/item_channels_item_messages_item_replies_item_hostedcontents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hostedcontents_item_value_content_request_builder.go @@ -60,9 +60,12 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRe } return nil } -// Get the unique identifier for an entity. Read-only. +// Get 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.s // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation 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.s // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index 722569a4b96..916030655a5 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. +// ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters 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. type ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,9 +81,12 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Count()(*ItemChannel func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get replies for a specified message. Supports $expand for channel messages. +// Get 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. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,9 +104,12 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post create new navigation property to replies for teams +// Post send a new reply to a chatMessage in a specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +127,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to replies for teams +// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 9f3082012e7..cac9b31c00e 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_sharedwithteams_item_allowedmembers_allowed_members_request_builder.go b/teams/item_channels_item_sharedwithteams_item_allowedmembers_allowed_members_request_builder.go index e12ac0cb6b2..765847e9c47 100644 --- a/teams/item_channels_item_sharedwithteams_item_allowedmembers_allowed_members_request_builder.go +++ b/teams/item_channels_item_sharedwithteams_item_allowedmembers_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. +// ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilderGetQueryParameters 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 type ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,9 +69,12 @@ func NewItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBu func (m *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilder) Count()(*ItemChannelsItemSharedwithteamsItemAllowedmembersCountRequestBuilder) { return NewItemChannelsItemSharedwithteamsItemAllowedmembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get a collection of team members who have access to the shared channel. +// Get 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 // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-beta func (m *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,7 @@ func (m *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation a collection of team members who have access to the shared channel. +// ToGetRequestInformation 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 // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedwithteamsItemAllowedmembersAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_photo_value_content_request_builder.go b/teams/item_photo_value_content_request_builder.go index dc72c61bd85..4c8d4a2dca0 100644 --- a/teams/item_photo_value_content_request_builder.go +++ b/teams/item_photo_value_content_request_builder.go @@ -80,9 +80,12 @@ func (m *ItemPhotoValueContentRequestBuilder) Get(ctx context.Context, requestCo } return res.([]byte), nil } -// Put the team photo. +// Put 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/profilephoto-update?view=graph-rest-beta func (m *ItemPhotoValueContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemPhotoValueContentRequestBuilderPutRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +125,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation the team photo. +// ToPutRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemPhotoValueContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_schedulinggroups_scheduling_group_item_request_builder.go b/teams/item_schedule_schedulinggroups_scheduling_group_item_request_builder.go index 0c8ca7c1247..fdaaadfb113 100644 --- a/teams/item_schedule_schedulinggroups_scheduling_group_item_request_builder.go +++ b/teams/item_schedule_schedulinggroups_scheduling_group_item_request_builder.go @@ -20,6 +20,8 @@ type ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderDeleteRequestC } // ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedulingGroup by ID. type ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderPatchRequestCo // NewItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal instantiates a new ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder and sets the default values. func NewItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder) { m := &ItemScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teams/item_schedule_schedulinggroups_scheduling_groups_request_builder.go b/teams/item_schedule_schedulinggroups_scheduling_groups_request_builder.go index 6713b6a2f32..fa14bb66100 100644 --- a/teams/item_schedule_schedulinggroups_scheduling_groups_request_builder.go +++ b/teams/item_schedule_schedulinggroups_scheduling_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilder struct { type ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) BySchedulin // NewItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal instantiates a new ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilder and sets the default values. func NewItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) { m := &ItemScheduleSchedulinggroupsSchedulingGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teams/item_schedule_shifts_request_builder.go b/teams/item_schedule_shifts_request_builder.go index 3d2553a119c..403e9dbec2e 100644 --- a/teams/item_schedule_shifts_request_builder.go +++ b/teams/item_schedule_shifts_request_builder.go @@ -15,6 +15,8 @@ type ItemScheduleShiftsRequestBuilder struct { type ItemScheduleShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*ItemSchedu // NewItemScheduleShiftsRequestBuilderInternal instantiates a new ItemScheduleShiftsRequestBuilder and sets the default values. func NewItemScheduleShiftsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleShiftsRequestBuilder) { m := &ItemScheduleShiftsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teams/item_schedule_shifts_shift_item_request_builder.go b/teams/item_schedule_shifts_shift_item_request_builder.go index 2908a090fbb..6d7bab0a26c 100644 --- a/teams/item_schedule_shifts_shift_item_request_builder.go +++ b/teams/item_schedule_shifts_shift_item_request_builder.go @@ -20,6 +20,8 @@ type ItemScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration struct } // ItemScheduleShiftsShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a shift object by ID. type ItemScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration struct { // NewItemScheduleShiftsShiftItemRequestBuilderInternal instantiates a new ItemScheduleShiftsShiftItemRequestBuilder and sets the default values. func NewItemScheduleShiftsShiftItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleShiftsShiftItemRequestBuilder) { m := &ItemScheduleShiftsShiftItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teams/item_schedule_timeoffreasons_time_off_reason_item_request_builder.go b/teams/item_schedule_timeoffreasons_time_off_reason_item_request_builder.go index 8a33390d63b..e425f5415f5 100644 --- a/teams/item_schedule_timeoffreasons_time_off_reason_item_request_builder.go +++ b/teams/item_schedule_timeoffreasons_time_off_reason_item_request_builder.go @@ -20,6 +20,8 @@ type ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderDeleteRequestConfi } // ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOffReason object by ID. type ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderPatchRequestConfig // NewItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal instantiates a new ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder and sets the default values. func NewItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder) { m := &ItemScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teams/item_schedule_timeoffreasons_time_off_reasons_request_builder.go b/teams/item_schedule_timeoffreasons_time_off_reasons_request_builder.go index df026b322d3..e13cf163806 100644 --- a/teams/item_schedule_timeoffreasons_time_off_reasons_request_builder.go +++ b/teams/item_schedule_timeoffreasons_time_off_reasons_request_builder.go @@ -15,6 +15,8 @@ type ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilder struct { type ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) ByTimeOffReason // NewItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal instantiates a new ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilder and sets the default values. func NewItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) { m := &ItemScheduleTimeoffreasonsTimeOffReasonsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teams/item_schedule_timeoffrequests_time_off_request_item_request_builder.go b/teams/item_schedule_timeoffrequests_time_off_request_item_request_builder.go index 6c8f80c4256..187e4b72c87 100644 --- a/teams/item_schedule_timeoffrequests_time_off_request_item_request_builder.go +++ b/teams/item_schedule_timeoffrequests_time_off_request_item_request_builder.go @@ -20,6 +20,8 @@ type ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderDeleteRequestCon } // ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeoffrequest object. type ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderPatchRequestConf // NewItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal instantiates a new ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder and sets the default values. func NewItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder) { m := &ItemScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teams/item_schedule_timeoffrequests_time_off_requests_request_builder.go b/teams/item_schedule_timeoffrequests_time_off_requests_request_builder.go index d7409db0330..ac7881a1cd0 100644 --- a/teams/item_schedule_timeoffrequests_time_off_requests_request_builder.go +++ b/teams/item_schedule_timeoffrequests_time_off_requests_request_builder.go @@ -15,6 +15,8 @@ type ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilder struct { type ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) ByTimeOffRequ // NewItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal instantiates a new ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilder and sets the default values. func NewItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) { m := &ItemScheduleTimeoffrequestsTimeOffRequestsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teams/item_schedule_timesoff_time_off_item_request_builder.go b/teams/item_schedule_timesoff_time_off_item_request_builder.go index 65a11d8bbed..39d8e49eb3a 100644 --- a/teams/item_schedule_timesoff_time_off_item_request_builder.go +++ b/teams/item_schedule_timesoff_time_off_item_request_builder.go @@ -20,6 +20,8 @@ type ItemScheduleTimesoffTimeOffItemRequestBuilderDeleteRequestConfiguration str } // ItemScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOff object by ID. type ItemScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemScheduleTimesoffTimeOffItemRequestBuilderPatchRequestConfiguration stru // NewItemScheduleTimesoffTimeOffItemRequestBuilderInternal instantiates a new ItemScheduleTimesoffTimeOffItemRequestBuilder and sets the default values. func NewItemScheduleTimesoffTimeOffItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimesoffTimeOffItemRequestBuilder) { m := &ItemScheduleTimesoffTimeOffItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teams/item_schedule_timesoff_times_off_request_builder.go b/teams/item_schedule_timesoff_times_off_request_builder.go index 9bb91bead92..e6896f9c6ab 100644 --- a/teams/item_schedule_timesoff_times_off_request_builder.go +++ b/teams/item_schedule_timesoff_times_off_request_builder.go @@ -15,6 +15,8 @@ type ItemScheduleTimesoffTimesOffRequestBuilder struct { type ItemScheduleTimesoffTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemScheduleTimesoffTimesOffRequestBuilder) ByTimeOffId(timeOffId strin // NewItemScheduleTimesoffTimesOffRequestBuilderInternal instantiates a new ItemScheduleTimesoffTimesOffRequestBuilder and sets the default values. func NewItemScheduleTimesoffTimesOffRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleTimesoffTimesOffRequestBuilder) { m := &ItemScheduleTimesoffTimesOffRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go index fe1fa5d5a99..14773040bec 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder } // ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder // NewItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder) { m := &ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go index a8153a11715..b7262006ff2 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder st type ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilde // NewItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) { m := &ItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_shifts_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_shifts_request_builder.go index 1aece50aaec..663e64218fa 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_shifts_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_shifts_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamdefinitionScheduleShiftsRequestBuilder struct { type ItemTeamdefinitionScheduleShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamdefinitionScheduleShiftsRequestBuilder) ByShiftId(shiftId strin // NewItemTeamdefinitionScheduleShiftsRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleShiftsRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleShiftsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleShiftsRequestBuilder) { m := &ItemTeamdefinitionScheduleShiftsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_shifts_shift_item_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_shifts_shift_item_request_builder.go index 479ec52de96..b4fa06e8c24 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_shifts_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_shifts_shift_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfigu } // ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfigur // NewItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder) { m := &ItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts/{shift%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts/{shift%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go index e3a0ce688cb..899fb5821eb 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderDele } // ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderPatc // NewItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder) { m := &ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go index 8955495ae10..71f34a51b76 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder struct type ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) B // NewItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) { m := &ItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go index ade7c6aeaa0..9bcea6c187e 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderDe } // ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderPa // NewItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder) { m := &ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go index 5f1c1a09c1e..2bae7e07854 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder stru type ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) // NewItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) { m := &ItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go index 971c414f6cb..9ecbd263b9b 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderDeleteRequestCon } // ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderPatchRequestConf // NewItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder) { m := &ItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff/{timeOff%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_times_off_request_builder.go b/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_times_off_request_builder.go index 40ba46bd958..2930f972be2 100644 --- a/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_times_off_request_builder.go +++ b/teamtemplatedefinition/item_teamdefinition_schedule_timesoff_times_off_request_builder.go @@ -15,6 +15,8 @@ type ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder struct { type ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder) ByTimeOffId(t // NewItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderInternal instantiates a new ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder and sets the default values. func NewItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder) { m := &ItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go index 3b45e800017..1a63bdcc0be 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_group_item_request_builder.go @@ -20,6 +20,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSched } // TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSched // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go index df4a1e4f652..5f82f384d84 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_schedulinggroups_scheduling_groups_request_builder.go @@ -15,6 +15,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSched type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsS // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleSchedulinggroupsSchedulingGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_request_builder.go index fd9bd1890e8..5f92a5cff61 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_request_builder.go @@ -15,6 +15,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilder type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuil // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_shift_item_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_shift_item_request_builder.go index 4bfa45ad809..f883f091000 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_shift_item_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_shifts_shift_item_request_builder.go @@ -20,6 +20,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemReques } // TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemReques // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleShiftsShiftItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts/{shift%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/shifts/{shift%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go index 7b97f9428be..c382d214a50 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reason_item_request_builder.go @@ -20,6 +20,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOff } // TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOff // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go index a454645103b..700d6c51ca7 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffreasons_time_off_reasons_request_builder.go @@ -15,6 +15,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOff type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTim // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffreasonsTimeOffReasonsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go index 40440728301..a35abd7f004 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_request_item_request_builder.go @@ -20,6 +20,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOf } // TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOf // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go index b2f85b7efce..1344dbd5044 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timeoffrequests_time_off_requests_request_builder.go @@ -15,6 +15,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOf type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTi // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimeoffrequestsTimeOffRequestsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go index 90f8b2d1ec7..362503eb5ce 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_time_off_item_request_builder.go @@ -20,6 +20,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRe } // TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRe // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimeOffItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff/{timeOff%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_times_off_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_times_off_request_builder.go index 4f44739c684..fc58f2ae9f7 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_times_off_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_schedule_timesoff_times_off_request_builder.go @@ -15,6 +15,8 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffReque type TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffR // NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderInternal instantiates a new TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder and sets the default values. func NewTeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder) { m := &TeamtemplatesItemDefinitionsItemTeamdefinitionScheduleTimesoffTimesOffRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/teamwork/teamtemplates_item_definitions_item_teamdefinition_team_definition_request_builder.go b/teamwork/teamtemplates_item_definitions_item_teamdefinition_team_definition_request_builder.go index 9822246727b..5b6f2dc9dcc 100644 --- a/teamwork/teamtemplates_item_definitions_item_teamdefinition_team_definition_request_builder.go +++ b/teamwork/teamtemplates_item_definitions_item_teamdefinition_team_definition_request_builder.go @@ -18,7 +18,7 @@ type TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderGetQueryParameters collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. +// TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderGetQueryParameters get the properties of the team associated with a teamTemplateDefinition object. type TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,9 +95,12 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuil } return nil } -// Get collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. +// Get get the properties of the team associated with a teamTemplateDefinition object. // returns a Teamable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get-teamdefinition?view=graph-rest-beta func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -216,7 +219,7 @@ func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. +// ToGetRequestInformation get the properties of the team associated with a teamTemplateDefinition object. // returns a *RequestInformation when successful func (m *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamtemplatesItemDefinitionsItemTeamdefinitionTeamDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/teamtemplates_team_templates_request_builder.go b/teamwork/teamtemplates_team_templates_request_builder.go index 4463680dfe2..073e2baaee7 100644 --- a/teamwork/teamtemplates_team_templates_request_builder.go +++ b/teamwork/teamtemplates_team_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamtemplatesTeamTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamtemplatesTeamTemplatesRequestBuilderGetQueryParameters get the list of teamTemplate objects that are available for a tenant. +// TeamtemplatesTeamTemplatesRequestBuilderGetQueryParameters list the teamTemplateDefinition objects associated with a teamTemplate. type TeamtemplatesTeamTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewTeamtemplatesTeamTemplatesRequestBuilder(rawUrl string, requestAdapter i func (m *TeamtemplatesTeamTemplatesRequestBuilder) Count()(*TeamtemplatesCountRequestBuilder) { return NewTeamtemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teamTemplate objects that are available for a tenant. +// Get list the teamTemplateDefinition objects associated with a teamTemplate. // returns a TeamTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta func (m *TeamtemplatesTeamTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamtemplatesTeamTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *TeamtemplatesTeamTemplatesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateable), nil } -// ToGetRequestInformation get the list of teamTemplate objects that are available for a tenant. +// ToGetRequestInformation list the teamTemplateDefinition objects associated with a teamTemplate. // returns a *RequestInformation when successful func (m *TeamtemplatesTeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamtemplatesTeamTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multitenantorganization_multi_tenant_organization_request_builder.go b/tenantrelationships/multitenantorganization_multi_tenant_organization_request_builder.go index d4f61e9564e..abf299caac2 100644 --- a/tenantrelationships/multitenantorganization_multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multitenantorganization_multi_tenant_organization_request_builder.go @@ -27,8 +27,8 @@ type MultitenantorganizationMultiTenantOrganizationRequestBuilderGetRequestConfi // Request query parameters QueryParameters *MultitenantorganizationMultiTenantOrganizationRequestBuilderGetQueryParameters } -// MultitenantorganizationMultiTenantOrganizationRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type MultitenantorganizationMultiTenantOrganizationRequestBuilderPutRequestConfiguration struct { +// MultitenantorganizationMultiTenantOrganizationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MultitenantorganizationMultiTenantOrganizationRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options @@ -75,14 +75,14 @@ func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) Get(ctx c func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) JoinRequest()(*MultitenantorganizationJoinrequestJoinRequestRequestBuilder) { return NewMultitenantorganizationJoinrequestJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put update the properties of a multi-tenant organization. +// Patch update the properties of a multi-tenant organization. // returns a MultiTenantOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta -func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultitenantorganizationMultiTenantOrganizationRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); +func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultitenantorganizationMultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err } @@ -117,10 +117,10 @@ func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the properties of a multi-tenant organization. +// ToPatchRequestInformation update the properties of a multi-tenant organization. // returns a *RequestInformation when successful -func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultitenantorganizationMultiTenantOrganizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) +func (m *MultitenantorganizationMultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultitenantorganizationMultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/termstore/groups_item_sets_item_terms_request_builder.go b/termstore/groups_item_sets_item_terms_request_builder.go index 4eba50f40f4..b5068fa788f 100644 --- a/termstore/groups_item_sets_item_terms_request_builder.go +++ b/termstore/groups_item_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsItemSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsItemSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. +// GroupsItemSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. type GroupsItemSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewGroupsItemSetsItemTermsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *GroupsItemSetsItemTermsRequestBuilder) Count()(*GroupsItemSetsItemTermsCountRequestBuilder) { return NewGroupsItemSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get all the terms under the set. +// Get read the properties and relationships of a term object. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *GroupsItemSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *GroupsItemSetsItemTermsRequestBuilder) Post(ctx context.Context, body i } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation all the terms under the set. +// ToGetRequestInformation read the properties and relationships of a term object. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_item_terms_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_term_item_request_builder.go index 60c82758337..6b2022c4906 100644 --- a/termstore/groups_item_sets_item_terms_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type GroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. +// GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. type GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,9 +75,12 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get all the terms under the set. +// Get read the properties and relationships of a term object. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-beta func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +139,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation all the terms under the set. +// ToGetRequestInformation read the properties and relationships of a term object. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/policies_item_value_content_request_builder.go b/trustframework/policies_item_value_content_request_builder.go index 5985ab7230f..53d3d66dcff 100644 --- a/trustframework/policies_item_value_content_request_builder.go +++ b/trustframework/policies_item_value_content_request_builder.go @@ -44,8 +44,11 @@ func NewPoliciesItemValueContentRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewPoliciesItemValueContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete the unique identifier for an entity. Read-only. +// Delete delete an existing trustFrameworkPolicy. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkpolicy-delete?view=graph-rest-beta func (m *PoliciesItemValueContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *PoliciesItemValueContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,9 +63,12 @@ func (m *PoliciesItemValueContentRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get the unique identifier for an entity. Read-only. +// Get retrieve a list of trustFrameworkPolicies in the tenant/directory. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframework-list-trustframeworkpolicies?view=graph-rest-beta func (m *PoliciesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *PoliciesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *PoliciesItemValueContentRequestBuilder) Put(ctx context.Context, body [ } return res.([]byte), nil } -// ToDeleteRequestInformation the unique identifier for an entity. Read-only. +// ToDeleteRequestInformation delete an existing trustFrameworkPolicy. // returns a *RequestInformation when successful func (m *PoliciesItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PoliciesItemValueContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +117,7 @@ func (m *PoliciesItemValueContentRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the unique identifier for an entity. Read-only. +// ToGetRequestInformation retrieve a list of trustFrameworkPolicies in the tenant/directory. // returns a *RequestInformation when successful func (m *PoliciesItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PoliciesItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go b/users/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go index 03feffca5a3..4b2380d9d52 100644 --- a/users/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_calendarpermissions_calendar_permission_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderDeleteRe } // ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderPatchReq // NewItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderInternal instantiates a new ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder and sets the default values. func NewItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder) { m := &ItemCalendarCalendarpermissionsCalendarPermissionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarpermissions_calendar_permissions_request_builder.go b/users/item_calendar_calendarpermissions_calendar_permissions_request_builder.go index 6a6d0fb778a..e365cdcbf5c 100644 --- a/users/item_calendar_calendarpermissions_calendar_permissions_request_builder.go +++ b/users/item_calendar_calendarpermissions_calendar_permissions_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder struct { type ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder) ByCal // NewItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderInternal instantiates a new ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder and sets the default values. func NewItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder) { m := &ItemCalendarCalendarpermissionsCalendarPermissionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_calendar_view_request_builder.go b/users/item_calendar_calendarview_calendar_view_request_builder.go index dfadfc5059b..41e18c71b0f 100644 --- a/users/item_calendar_calendarview_calendar_view_request_builder.go +++ b/users/item_calendar_calendarview_calendar_view_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarCalendarviewCalendarViewRequestBuilderGetQueryParameters struct Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarCalendarviewCalendarViewRequestBuilder) ByEventId(eventId s // NewItemCalendarCalendarviewCalendarViewRequestBuilderInternal instantiates a new ItemCalendarCalendarviewCalendarViewRequestBuilder and sets the default values. func NewItemCalendarCalendarviewCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewCalendarViewRequestBuilder) { m := &ItemCalendarCalendarviewCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_event_item_request_builder.go b/users/item_calendar_calendarview_event_item_request_builder.go index aab4f7d7d0a..0c8c8250ebf 100644 --- a/users/item_calendar_calendarview_event_item_request_builder.go +++ b/users/item_calendar_calendarview_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewEventItemRequestBuilder struct { type ItemCalendarCalendarviewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewEventItemRequestBuilder) Cancel()(*ItemCalendar // NewItemCalendarCalendarviewEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewEventItemRequestBuilder) { m := &ItemCalendarCalendarviewEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_calendar_request_builder.go b/users/item_calendar_calendarview_item_calendar_request_builder.go index 1c73d34523c..84fb1c71996 100644 --- a/users/item_calendar_calendarview_item_calendar_request_builder.go +++ b/users/item_calendar_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemCalendarRequestBuilder struct { } // ItemCalendarCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemCalendarRequestBuilderGetRequestConfiguration s // NewItemCalendarCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index 7e95983921d..4a3e7309465 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequest type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequest // NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index 2a8cd201248..ee0b0e6c8aa 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuild Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestB // NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index dedf927b4b7..5f184451fa9 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder } // ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderG // NewItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index 19d42dd504c..4fb78930e9a 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestB type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestB // NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index 29ce1fae42f..468172a5aeb 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBu // NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index 7a549d6bd36..c83d80b9785 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBu type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBu // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index d89440f69fc..7327024dccf 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemReque type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemR // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index a36b37cbe43..da9d1c1772e 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 76cfc711751..9c83602ea11 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachment Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttach // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index f16982b2df4..5e237b98f54 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRe } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRe // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 25491c81c42..ddcb959aeff 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 3efea9bcb54..e865649d5f5 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensions Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtens // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index 0202bf6b480..e6639e84435 100644 --- a/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendar_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBui // NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_event_item_request_builder.go b/users/item_calendar_calendarview_item_instances_event_item_request_builder.go index faac531e616..0dad8a730ad 100644 --- a/users/item_calendar_calendarview_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder struct { type ItemCalendarCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder) Cancel()( // NewItemCalendarCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go index 0614863df65..1d3f7537734 100644 --- a/users/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder str type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetR // NewItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendarview_item_instances_item_attachments_request_builder.go index dd05b745101..dc6262cbe5d 100644 --- a/users/item_calendar_calendarview_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderGetQueryP Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder) ByA // NewItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendarview_item_instances_item_calendar_request_builder.go index 4735a0229f9..d8cc5e3d4e2 100644 --- a/users/item_calendar_calendarview_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderGetRequestCo // NewItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index 488445520c0..a5654f7d292 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBu type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBu // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 5c226fb0036..1f9422bebf1 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccur Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionO // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 28f93f30a73..d81eca79494 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 4c6abaaf672..49408fb6909 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachment Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttach // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 76fff04c934..8fb16314b2e 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRe } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRe // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 6c8d0f9686c..a4872694d52 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 4d679f7f1d1..f875f6dee5f 100644 --- a/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensions Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtens // NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go index 28c9609a4b6..4c23701bdf4 100644 --- a/users/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder stru type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRe // NewItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendarview_item_instances_item_extensions_request_builder.go index ec4502552f2..d9224a4b3c3 100644 --- a/users/item_calendar_calendarview_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderGetQueryPa Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder) ByEx // NewItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_calendarview_item_instances_request_builder.go b/users/item_calendar_calendarview_item_instances_request_builder.go index 568b5661467..2f515844e3d 100644 --- a/users/item_calendar_calendarview_item_instances_request_builder.go +++ b/users/item_calendar_calendarview_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarCalendarviewItemInstancesRequestBuilderGetQueryParameters struc Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarCalendarviewItemInstancesRequestBuilder) ByEventId1(eventId // NewItemCalendarCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendarCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendarCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendarCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_calendar_request_builder.go b/users/item_calendar_events_item_calendar_request_builder.go index 7a5d666bf4b..57f3a8e710a 100644 --- a/users/item_calendar_events_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemCalendarRequestBuilder struct { } // ItemCalendarEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemCalendarRequestBuilderGetRequestConfiguration struct // NewItemCalendarEventsItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index ea4493b8992..c0e3dd07ded 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilde type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilde // NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go index 74aa665856c..9b71d18c21b 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQ Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder // NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go index 7a4b31d913a..6879b4f1b86 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder struct } // ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetRequ // NewItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index a3f3e7e2d4e..d0706651357 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder // NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go index 38dc3d00e50..f190f8cd4f8 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderGetQu Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) // NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go index 0d731339a4c..9fb6d6631fd 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderG // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 6d2e3a03701..9dee5b418ef 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuil type ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequest // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 39d74d2f378..8b664a19a95 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCount type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCount // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 28fed5268ef..9903fb191c7 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsReque Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsR // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 60579f31f8a..aab5decbc17 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestB } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestB // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 74909f5046b..c13166da391 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountR type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountR // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index dfc7b96cf35..36bb8300c3d 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsReques Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRe // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go index d737e507c5b..538e2a761c9 100644 --- a/users/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendar_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderGetQue Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder) // NewItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_instances_event_item_request_builder.go index d03e00a18e2..731d25e0ec6 100644 --- a/users/item_calendar_events_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarEventsItemInstancesEventItemRequestBuilder struct { type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) Cancel()(*ItemC // NewItemCalendarEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { m := &ItemCalendarEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go index d2dc52beaf7..147965bac54 100644 --- a/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequest // NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_request_builder.go index 663175abbd5..71ef3338fb0 100644 --- a/users/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParamet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachm // NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_calendar_request_builder.go index ebddf3a2a69..9ca11a4ae40 100644 --- a/users/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemInstancesItemCalendarRequestBuilderGetRequestConfigur // NewItemCalendarEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go index e016545b9d7..f7499760877 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderG // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 7feb9c1e487..86d20bccbb6 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrences Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurre // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 16c4e649982..898344acdc2 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCount type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCount // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index e5681720b66..cd825af83f7 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsReque Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsR // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 8a580449b3a..57ca26b87e4 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestB } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestB // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index ed4e30bb39d..e5ec879265e 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountR type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountR // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index fd2b0c9d232..5ee7344ed90 100644 --- a/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsReques Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRe // NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go index e2c0741014b..64d9b384e0f 100644 --- a/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder struct { type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestC // NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_request_builder.go index ff2403a5c84..c15a3303de0 100644 --- a/users/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParamete Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensio // NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_events_item_instances_request_builder.go b/users/item_calendar_events_item_instances_request_builder.go index b918dabae2c..d08128f6555 100644 --- a/users/item_calendar_events_item_instances_request_builder.go +++ b/users/item_calendar_events_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1(eventId1 stri // NewItemCalendarEventsItemInstancesRequestBuilderInternal instantiates a new ItemCalendarEventsItemInstancesRequestBuilder and sets the default values. func NewItemCalendarEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarEventsItemInstancesRequestBuilder) { m := &ItemCalendarEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendar_request_builder.go b/users/item_calendar_request_builder.go index d99b2dece82..230ae21f485 100644 --- a/users/item_calendar_request_builder.go +++ b/users/item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarRequestBuilder struct { } // ItemCalendarRequestBuilderGetQueryParameters the user's primary calendar. Read-only. type ItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -50,7 +52,7 @@ func (m *ItemCalendarRequestBuilder) CalendarView()(*ItemCalendarCalendarviewCal // NewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarRequestBuilder and sets the default values. func NewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarRequestBuilder) { m := &ItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_calendar_group_item_request_builder.go b/users/item_calendargroups_calendar_group_item_request_builder.go index 669868ccf98..1d65a67d234 100644 --- a/users/item_calendargroups_calendar_group_item_request_builder.go +++ b/users/item_calendargroups_calendar_group_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendargroupsCalendarGroupItemRequestBuilderDeleteRequestConfiguration } // ItemCalendargroupsCalendarGroupItemRequestBuilderGetQueryParameters the user's calendar groups. Read-only. Nullable. type ItemCalendargroupsCalendarGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -47,7 +49,7 @@ func (m *ItemCalendargroupsCalendarGroupItemRequestBuilder) Calendars()(*ItemCal // NewItemCalendargroupsCalendarGroupItemRequestBuilderInternal instantiates a new ItemCalendargroupsCalendarGroupItemRequestBuilder and sets the default values. func NewItemCalendargroupsCalendarGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsCalendarGroupItemRequestBuilder) { m := &ItemCalendargroupsCalendarGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_calendar_groups_request_builder.go b/users/item_calendargroups_calendar_groups_request_builder.go index 5acdc2a527e..11f54470282 100644 --- a/users/item_calendargroups_calendar_groups_request_builder.go +++ b/users/item_calendargroups_calendar_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsCalendarGroupsRequestBuilder struct { type ItemCalendargroupsCalendarGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsCalendarGroupsRequestBuilder) ByCalendarGroupId(calen // NewItemCalendargroupsCalendarGroupsRequestBuilderInternal instantiates a new ItemCalendargroupsCalendarGroupsRequestBuilder and sets the default values. func NewItemCalendargroupsCalendarGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsCalendarGroupsRequestBuilder) { m := &ItemCalendargroupsCalendarGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_calendar_item_request_builder.go b/users/item_calendargroups_item_calendars_calendar_item_request_builder.go index 6e5f8003bc3..fa8ac2c2d48 100644 --- a/users/item_calendargroups_item_calendars_calendar_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_calendar_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendargroupsItemCalendarsCalendarItemRequestBuilderDeleteRequestConfi } // ItemCalendargroupsItemCalendarsCalendarItemRequestBuilderGetQueryParameters the calendars in the calendar group. Navigation property. Read-only. Nullable. type ItemCalendargroupsItemCalendarsCalendarItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -57,7 +59,7 @@ func (m *ItemCalendargroupsItemCalendarsCalendarItemRequestBuilder) CalendarView // NewItemCalendargroupsItemCalendarsCalendarItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsCalendarItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsCalendarItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsCalendarItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsCalendarItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go index 52d4a4838dc..e06d93fdd31 100644 --- a/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionIte } // ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionIte // NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go index 7fe1d29e24f..8ad8a4fbd14 100644 --- a/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go @@ -15,10 +15,14 @@ type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRe type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -57,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissio // NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarpermissions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarpermissions_count_request_builder.go index 50527f0149b..37d1921c849 100644 --- a/users/item_calendargroups_item_calendars_item_calendarpermissions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarpermissions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilder s type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderGe // NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarpermissionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_calendar_view_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_calendar_view_request_builder.go index 1353dceebb4..38741235dbd 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_calendar_view_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_calendar_view_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilderGe Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuild // NewItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_count_request_builder.go index 987b87e8109..76636c83d99 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilder struct { type ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderGetReques // NewItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_event_item_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_event_item_request_builder.go index 5d2a4a58b66..3d7c09a21b2 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_event_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilder stru type ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilder) // NewItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_count_request_builder.go index ce3410bdfe6..749d87a5308 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestB type ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestB // NewItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_request_builder.go index 51ca29d3364..022cf7e181f 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBu // NewItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_calendar_request_builder.go index a754247efbb..7cb0567a0c8 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilder s } // ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilderGe // NewItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go index f3ba10cff60..3b7302105c6 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCoun type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCoun // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go index 22847ba6214..10a89ef9f1b 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExce Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index 8d536dba420..70d20ed07d0 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index 4dcebb905e8..6bf3e6e7758 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index 24c5d52fd6e..2f83a7a3143 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index 624b20be54c..928a13ddc22 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index f92bf1572fa..16374dcfb1e 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index 599631dfd0b..dbf130b5365 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 8e8d369ea2a..c127ed86c0c 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 81e93a9031a..099cdbcea94 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 24dbbedf3e5..74b67115196 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 4570356325d..e47831cfcc9 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 8e31daeed57..83a522b129e 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 0f9dc75b3a5..ae50c3d1b2d 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index 6ad75a55785..636e090a7db 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItem Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrences // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_count_request_builder.go index 866d0ce2c00..19aa9bf93ce 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBu type ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBu // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_request_builder.go index 302b30e1ba9..285ac996eee 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBui // NewItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_count_request_builder.go index adf4cf30bac..2a19f81180b 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBui type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBui // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_event_item_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_event_item_request_builder.go index 8192935c531..f46e58b4166 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_event_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemReques type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRe // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go index f402d0417b8..58f6568a986 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachments type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachments // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go index c3e750d8ad6..ec7ab4ea7fc 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachments Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachm // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go index 950ce854a84..4beab881ae1 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarReq } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarReq // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index c7dcf65b59c..9809c7189a8 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 532ed6191e1..dd34406eff9 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExcepti // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 95a058cbef3..fff43a66395 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index daefc2eba80..d72357976ae 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExcepti // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index a54d569f49f..0a7b5b9e92b 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 753150463bb..a60492824bf 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 7462a0e6620..e9e1c0bc795 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExcepti // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go index 3d8d392f141..6bc69ac103d 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsC type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsC // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go index e1575329ca4..86fbea87e86 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsR Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensi // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_request_builder.go b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_request_builder.go index c3b0739ac93..37169b0ef23 100644 --- a/users/item_calendargroups_item_calendars_item_calendarview_item_instances_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_calendarview_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilderG Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuil // NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_count_request_builder.go index 2ed278fb524..bfaf2fcd8c0 100644 --- a/users/item_calendargroups_item_calendars_item_events_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilder struct { type ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderGetRequestConfi // NewItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_attachments_count_request_builder.go index 03e8622c36c..437d8a078b2 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder type ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder // NewItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_attachments_request_builder.go index 2d48e3faa02..8057d85c3f3 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQu Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) // NewItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_calendar_request_builder.go index 6862261e56a..4c4c1e7919c 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilder struct } // ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilderGetReque // NewItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go index ffb961d0dd8..f233750e7fc 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountReque type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountReque // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go index 91d048ba9dd..3a4fe72b48e 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionO Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExcept // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index 73a85ea0151..8e719044cb8 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttach type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttach // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go index b6e18970426..1dd9d1ea0d1 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttach Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAt // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go index 721de24e990..404144454de 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalend } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalend // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index f3a7a13cc4d..b35db28c410 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtens type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtens // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go index d18ecf25758..0dd11bfbd7f 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtens Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemEx // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go index 59514eea7e8..e098061ceef 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index bd700d2134c..c161b02bdcf 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemIn // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 45e1bfa3ce5..c63ed3cae8f 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 5111a39a1aa..c442f24d1ba 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemIn // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 55013b223f0..ef18edfa0f0 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 2d9deb75687..91734cf4f1c 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 05df374c4d1..65b9c6b557f 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemIn // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go index de80f09df80..ba44791d142 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstan Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemIn // NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_extensions_count_request_builder.go index 412e15e7a79..954d7e8960c 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder type ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderG // NewItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_extensions_request_builder.go index 5330ad99491..328f02cea4e 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetQue Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) // NewItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_count_request_builder.go index c7c2eb814bb..9f818ed797f 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder s type ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderGe // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_event_item_request_builder.go index a3bae85e226..3571da65f5b 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuild type ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestB // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go index 616359c1791..5c45d20fcdb 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountR type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountR // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_request_builder.go index 1c514218d11..52ebefccd48 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsReques Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_calendar_request_builder.go index fb850580c47..5952e64a4ff 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBu } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBu // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go index 5de311b26ec..c03fa52769c 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 92984f68076..339188eed72 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccu // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 7567d8c0e3d..2369012c9ba 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index ba0cff9f3f3..6a3dbe416cf 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccu // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 1139bbcee56..25a0220c09d 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index ba110457672..b3ba582e5d3 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 5a89b835c98..47f1f013ccb 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurren Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccu // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go index 1dc59e7aca9..b83b2c3cee7 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRe type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRe // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_request_builder.go index 0127ca7f3a1..7615bf4de32 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_item_instances_request_builder.go b/users/item_calendargroups_item_calendars_item_events_item_instances_request_builder.go index ab4f82a214b..d114b690209 100644 --- a/users/item_calendargroups_item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetQuer Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilder) B // NewItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(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}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_item_events_request_builder.go b/users/item_calendargroups_item_calendars_item_events_request_builder.go index b60dededb33..63d2e2c93f8 100644 --- a/users/item_calendargroups_item_calendars_item_events_request_builder.go +++ b/users/item_calendargroups_item_calendars_item_events_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendargroupsItemCalendarsItemEventsRequestBuilderGetQueryParameters s Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsItemEventsRequestBuilder) ByEventId(even // NewItemCalendargroupsItemCalendarsItemEventsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsItemEventsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsItemEventsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsItemEventsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendargroups_item_calendars_request_builder.go b/users/item_calendargroups_item_calendars_request_builder.go index fa1ca6d9100..b934c24720e 100644 --- a/users/item_calendargroups_item_calendars_request_builder.go +++ b/users/item_calendargroups_item_calendars_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendargroupsItemCalendarsRequestBuilder struct { type ItemCalendargroupsItemCalendarsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemCalendargroupsItemCalendarsRequestBuilder) ByCalendarId(calendarId // NewItemCalendargroupsItemCalendarsRequestBuilderInternal instantiates a new ItemCalendargroupsItemCalendarsRequestBuilder and sets the default values. func NewItemCalendargroupsItemCalendarsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendargroupsItemCalendarsRequestBuilder) { m := &ItemCalendargroupsItemCalendarsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go b/users/item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go index f7986786c4f..87af9199093 100644 --- a/users/item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go +++ b/users/item_calendars_item_calendarpermissions_calendar_permission_item_request_builder.go @@ -20,6 +20,8 @@ type ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderDel } // ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderPat // NewItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder) { m := &ItemCalendarsItemCalendarpermissionsCalendarPermissionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go b/users/item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go index 5853068a415..c394b6de895 100644 --- a/users/item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go +++ b/users/item_calendars_item_calendarpermissions_calendar_permissions_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder struc type ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder) // NewItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder) { m := &ItemCalendarsItemCalendarpermissionsCalendarPermissionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_calendar_view_request_builder.go b/users/item_calendars_item_calendarview_calendar_view_request_builder.go index 2bf22d55267..3a2445af54a 100644 --- a/users/item_calendars_item_calendarview_calendar_view_request_builder.go +++ b/users/item_calendars_item_calendarview_calendar_view_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarsItemCalendarviewCalendarViewRequestBuilderGetQueryParameters s Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarsItemCalendarviewCalendarViewRequestBuilder) ByEventId(even // NewItemCalendarsItemCalendarviewCalendarViewRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewCalendarViewRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewCalendarViewRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewCalendarViewRequestBuilder) { m := &ItemCalendarsItemCalendarviewCalendarViewRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_event_item_request_builder.go b/users/item_calendars_item_calendarview_event_item_request_builder.go index fb02ba2e6f4..a69c949a5de 100644 --- a/users/item_calendars_item_calendarview_event_item_request_builder.go +++ b/users/item_calendars_item_calendarview_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemCalendarviewEventItemRequestBuilder struct { type ItemCalendarsItemCalendarviewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemCalendarviewEventItemRequestBuilder) Cancel()(*ItemCal // NewItemCalendarsItemCalendarviewEventItemRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewEventItemRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewEventItemRequestBuilder) { m := &ItemCalendarsItemCalendarviewEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_attachments_count_request_builder.go b/users/item_calendars_item_calendarview_item_attachments_count_request_builder.go index 95652211248..dadddbd9f1c 100644 --- a/users/item_calendars_item_calendarview_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder struct { type ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderGetRequestCo // NewItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_attachments_request_builder.go b/users/item_calendars_item_calendarview_item_attachments_request_builder.go index b7877da6e40..d1b59fba48a 100644 --- a/users/item_calendars_item_calendarview_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendarview_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemAttachmentsRequestBuilderGetQueryParameter Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder) ByAttachmen // NewItemCalendarsItemCalendarviewItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_calendar_request_builder.go b/users/item_calendars_item_calendarview_item_calendar_request_builder.go index 3967c653989..5cbc08c48ab 100644 --- a/users/item_calendars_item_calendarview_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemCalendarviewItemCalendarRequestBuilder struct { } // ItemCalendarsItemCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemCalendarviewItemCalendarRequestBuilderGetRequestConfigurat // NewItemCalendarsItemCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go index 65b26984ef0..9610f727f4d 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder st type ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderGet // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go index 158fdb6823f..ca86027823f 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRe Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrenc // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index 07e93828ce3..9373f79c452 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRe type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRe // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index 9985cbac6fb..fb20d71cc3a 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsReq // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index 045e4c587e3..85586cb0ee1 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBui } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBui // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index eb143a8d1a3..7eced2daf40 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountReq type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountReq // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index 02c9a414a7f..096a5cbc075 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequ // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index f41b29d1d7a..e28c604909c 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequ // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index bf3ca04ef41..145a23bda58 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItem type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEvent // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index dc08d504794..e3dfa0dd4ae 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttac type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttac // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index 0ab2cc05357..0af47c7a35a 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttac Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemA // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 62a016e40fd..44bfcef5f05 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalen } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalen // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index ae4a5a8ce2c..3dd4d1273ed 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExten type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExten // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 49720afbc58..61eb69c795c 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExten Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemE // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index dd737e5908b..e23ebae1043 100644 --- a/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBu Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesReque // NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_extensions_count_request_builder.go b/users/item_calendars_item_calendarview_item_extensions_count_request_builder.go index a9f429ce99d..4851cd54da5 100644 --- a/users/item_calendars_item_calendarview_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder struct { type ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderGetRequestCon // NewItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_extensions_request_builder.go b/users/item_calendars_item_calendarview_item_extensions_request_builder.go index 267cbdd3152..b898d57b30f 100644 --- a/users/item_calendars_item_calendarview_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendarview_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemExtensionsRequestBuilderGetQueryParameters Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemExtensionsRequestBuilder) ByExtensionI // NewItemCalendarsItemCalendarviewItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemExtensionsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_count_request_builder.go index b3ffc29c902..168f74211fd 100644 --- a/users/item_calendars_item_calendarview_item_instances_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder struct { type ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderGetRequestConf // NewItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendarview_item_instances_event_item_request_builder.go index 076fe7d918a..13f8eea3660 100644 --- a/users/item_calendars_item_calendarview_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder struct { type ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder) Canc // NewItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go index ed38cc11285..d4deaaa013b 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilde type ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilde // NewItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go index 197877849b0..83c7f3648b3 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilderGetQ Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder // NewItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go index c7e3492272e..6dd4708d01e 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder struct } // ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderGetRequ // NewItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index 84619cda748..7f789fef8f9 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequ // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index f235ee35b82..7ecaab24dfe 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesException Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExcep // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 0d9e09c61b7..866c4c7d55f 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttac type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttac // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 6c72845c822..ce22862c600 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttac Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemA // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 75765b76693..2a44d83ec4a 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalen } // ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalen // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index a9ef68ed6fc..d136c5f3cb8 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExten type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExten // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 490c67f1186..52e10081a45 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExten Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemE // NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go index 3b3b740805c..20035c9823f 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder type ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder // NewItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go index 8c884caeef2..532e875f522 100644 --- a/users/item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilderGetQu Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder) // NewItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_calendarview_item_instances_request_builder.go b/users/item_calendars_item_calendarview_item_instances_request_builder.go index 24e9b063145..55c3020a7d5 100644 --- a/users/item_calendars_item_calendarview_item_instances_request_builder.go +++ b/users/item_calendars_item_calendarview_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarsItemCalendarviewItemInstancesRequestBuilderGetQueryParameters Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarsItemCalendarviewItemInstancesRequestBuilder) ByEventId1(ev // NewItemCalendarsItemCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendarsItemCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendarsItemCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendarsItemCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_attachments_count_request_builder.go index 5464f7dd004..1e22134087c 100644 --- a/users/item_calendars_item_events_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder struct { type ItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemAttachmentsCountRequestBuilderGetRequestConfigur // NewItemCalendarsItemEventsItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendars_item_events_item_attachments_request_builder.go index 3eb0500dd04..af27a2964ec 100644 --- a/users/item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters stru Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ByAttachmentId(at // NewItemCalendarsItemEventsItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemEventsItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendars_item_events_item_calendar_request_builder.go index 907f79db023..f2ea5cc2c22 100644 --- a/users/item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemEventsItemCalendarRequestBuilder struct { } // ItemCalendarsItemEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemEventsItemCalendarRequestBuilderGetRequestConfiguration st // NewItemCalendarsItemEventsItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemCalendarRequestBuilder) { m := &ItemCalendarsItemEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go index ff9c90dfd76..33ac56a8719 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder struct { type ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderGetReques // NewItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go index d6b48f21b45..192b2d88687 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequ // NewItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index 4b9d6d21b66..6651d6e6627 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestB type ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestB // NewItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go index dd75e24a9df..a39d64044d6 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBu // NewItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go index 3d17fb1b234..079d37cd65d 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder s } // ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGe // NewItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index ccc6cf9894a..e49edae53de 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBu type ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBu // NewItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go index 724e75604f7..3ef53ccd9a5 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBui // NewItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go index 07a3b0cfcf6..fb3b2e9b2c7 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBui type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBui // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index d55cc8e8c41..40e0159b039 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemReques type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRe // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 32b89a96c07..092e4487e78 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachments type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachments // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index dc752606fbe..1ba07cb5f71 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachments Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachm // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index f18ad023a21..dd84c5cf603 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarReq } // ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarReq // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index c786b15861a..06164f247aa 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsC type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsC // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 3f22a94af99..64693b7bb30 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsR Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensi // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go index bd5709e3a2f..c6e896c9900 100644 --- a/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderG Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuil // NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarsItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_extensions_count_request_builder.go index f53a9d4ed43..085405af744 100644 --- a/users/item_calendars_item_events_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemExtensionsCountRequestBuilder struct { type ItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemExtensionsCountRequestBuilderGetRequestConfigura // NewItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendars_item_events_item_extensions_request_builder.go index 588d923ec58..ecc9e8a32c8 100644 --- a/users/item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters struc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ByExtensionId(exte // NewItemCalendarsItemEventsItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemExtensionsRequestBuilder) { m := &ItemCalendarsItemEventsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_count_request_builder.go b/users/item_calendars_item_events_item_instances_count_request_builder.go index a7e541d1e74..61b0f97a6ff 100644 --- a/users/item_calendars_item_events_item_instances_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesCountRequestBuilder struct { type ItemCalendarsItemEventsItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesCountRequestBuilderGetRequestConfigurat // NewItemCalendarsItemEventsItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_instances_event_item_request_builder.go index 1ec9b8051a1..c8ed6ca486e 100644 --- a/users/item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder struct { type ItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) Cancel()(* // NewItemCalendarsItemEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go index 69fce2a42f7..a80959d61e2 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder stru type ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRe // NewItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go index e3263843ed0..feff3c4fead 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryPa Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAt // NewItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go index a8912208525..bf63f10166d 100644 --- a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderGetRequestCon // NewItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go index 5f3a51e8302..0156c5b2325 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBui type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBui // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index 9c665cda231..1bd053ddc1f 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurr Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOc // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index 2b11ddeae10..167a07874b1 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachments type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachments // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 8914a3768c2..36923c2f2ba 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachments Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachm // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index efc9f582830..84d6f471444 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarReq } // ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarReq // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 7d4e836eb2e..39c6ff4f03a 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsC type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsC // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 7cf3cf0fefe..10e130eba86 100644 --- a/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsR Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensi // NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go index 63af92226bd..d8a89877847 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder struc type ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderGetReq // NewItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go index 9bd9ef98639..fc279ec6f07 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryPar Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ByExt // NewItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendars_item_events_item_instances_request_builder.go b/users/item_calendars_item_events_item_instances_request_builder.go index 74849cdebfe..69b3eb33a92 100644 --- a/users/item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarsItemEventsItemInstancesRequestBuilderGetQueryParameters struct Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 // NewItemCalendarsItemEventsItemInstancesRequestBuilderInternal instantiates a new ItemCalendarsItemEventsItemInstancesRequestBuilder and sets the default values. func NewItemCalendarsItemEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarsItemEventsItemInstancesRequestBuilder) { m := &ItemCalendarsItemEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_calendar_request_builder.go b/users/item_calendarview_item_calendar_request_builder.go index a93b004478d..f9f2fe8f9f0 100644 --- a/users/item_calendarview_item_calendar_request_builder.go +++ b/users/item_calendarview_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemCalendarRequestBuilder struct { } // ItemCalendarviewItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemCalendarRequestBuilderGetRequestConfiguration struct { // NewItemCalendarviewItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemCalendarRequestBuilder) { m := &ItemCalendarviewItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go index ddf55643f35..39e7d8076fb 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderG // NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go index 74debf605ea..26106b422b9 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQue Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) // NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go index 827925716b0..6ebc388010b 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder struct { } // ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderGetReques // NewItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go index f5523d31601..4b189e0a2b4 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder s type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderGe // NewItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go index 6a07f1f6dc7..5051947d6ac 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderGetQuer Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) B // NewItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go index e3fd32f16e7..ea62b07e204 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder st type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderGet // NewItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 093321d6e00..9b6619f68d7 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilde type ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBu // NewItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index e214b662989..b81e3c4db53 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRe type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRe // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index be824a9b3ed..6f1f10dd311 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsReq // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index 71b670124b6..a25c1e91953 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBui } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBui // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 7b2639ace94..3128d6810e6 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountReq type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountReq // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index f7b6d1050bf..14f725a34dd 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequ // NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go index e7327788205..7a9ab7a9fbc 100644 --- a/users/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_calendarview_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderGetQuery Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) By // NewItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemCalendarviewItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_event_item_request_builder.go b/users/item_calendarview_item_instances_event_item_request_builder.go index a5b1fcccf05..ed4bb9b0e85 100644 --- a/users/item_calendarview_item_instances_event_item_request_builder.go +++ b/users/item_calendarview_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemCalendarviewItemInstancesEventItemRequestBuilder struct { type ItemCalendarviewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemInstancesEventItemRequestBuilder) Cancel()(*ItemCal // NewItemCalendarviewItemInstancesEventItemRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesEventItemRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesEventItemRequestBuilder) { m := &ItemCalendarviewItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_attachments_count_request_builder.go b/users/item_calendarview_item_instances_item_attachments_count_request_builder.go index 1c27643943c..069fd88630a 100644 --- a/users/item_calendarview_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendarview_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderGetRequestCo // NewItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_attachments_request_builder.go b/users/item_calendarview_item_instances_item_attachments_request_builder.go index c21278c2d20..6bc62c3de4f 100644 --- a/users/item_calendarview_item_instances_item_attachments_request_builder.go +++ b/users/item_calendarview_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemAttachmentsRequestBuilderGetQueryParameter Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) ByAttachmen // NewItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_calendar_request_builder.go b/users/item_calendarview_item_instances_item_calendar_request_builder.go index 4efd9d30984..fe37bc671ca 100644 --- a/users/item_calendarview_item_instances_item_calendar_request_builder.go +++ b/users/item_calendarview_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemInstancesItemCalendarRequestBuilder struct { } // ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemInstancesItemCalendarRequestBuilderGetRequestConfigurat // NewItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go index c4632f40b92..e637a5244e5 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder st type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderGet // NewItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index c1ba63237f0..def3613c485 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRe Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrenc // NewItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index a69bdb092dd..ae17e9f4889 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRe type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRe // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index 7a6101ee550..5e9dd412215 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequest Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsReq // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index 5b0751fcccf..5db4ead1cf6 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBui } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBui // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 5f65f054054..2e827daf4b5 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountReq type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountReq // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index 2f094de9732..f5e29d3a110 100644 --- a/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_calendarview_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequ // NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_extensions_count_request_builder.go b/users/item_calendarview_item_instances_item_extensions_count_request_builder.go index a3a2d8d792b..e9cdc82f369 100644 --- a/users/item_calendarview_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendarview_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder struct { type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderGetRequestCon // NewItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_item_extensions_request_builder.go b/users/item_calendarview_item_instances_item_extensions_request_builder.go index 4ff247503c0..d4aca69222e 100644 --- a/users/item_calendarview_item_instances_item_extensions_request_builder.go +++ b/users/item_calendarview_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemCalendarviewItemInstancesItemExtensionsRequestBuilderGetQueryParameters Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemCalendarviewItemInstancesItemExtensionsRequestBuilder) ByExtensionI // NewItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesItemExtensionsRequestBuilder) { m := &ItemCalendarviewItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_calendarview_item_instances_request_builder.go b/users/item_calendarview_item_instances_request_builder.go index e1433382677..37f59cba1f7 100644 --- a/users/item_calendarview_item_instances_request_builder.go +++ b/users/item_calendarview_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemCalendarviewItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemCalendarviewItemInstancesRequestBuilder) ByEventId1(eventId1 string // NewItemCalendarviewItemInstancesRequestBuilderInternal instantiates a new ItemCalendarviewItemInstancesRequestBuilder and sets the default values. func NewItemCalendarviewItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCalendarviewItemInstancesRequestBuilder) { m := &ItemCalendarviewItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_chats_item_lastmessagepreview_last_message_preview_request_builder.go b/users/item_chats_item_lastmessagepreview_last_message_preview_request_builder.go index 23c3f3423bd..51315a74cbf 100644 --- a/users/item_chats_item_lastmessagepreview_last_message_preview_request_builder.go +++ b/users/item_chats_item_lastmessagepreview_last_message_preview_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. type ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilder) Delete } return nil } -// Get preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// Get preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. // returns a ChatMessageInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageInfoable, error) { @@ -121,7 +121,7 @@ func (m *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. +// ToGetRequestInformation preview of the last message sent in the chat. Null if no messages are sent in the chat. Currently, only the list chats operation supports this property. // returns a *RequestInformation when successful func (m *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemLastmessagepreviewLastMessagePreviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloudpcs_bulkresize_bulk_resize_request_builder.go b/users/item_cloudpcs_bulkresize_bulk_resize_request_builder.go index 95a7da24532..9c548478aa0 100644 --- a/users/item_cloudpcs_bulkresize_bulk_resize_request_builder.go +++ b/users/item_cloudpcs_bulkresize_bulk_resize_request_builder.go @@ -30,7 +30,7 @@ func NewItemCloudpcsBulkresizeBulkResizeRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemCloudpcsBulkresizeBulkResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// Post perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: This method is obsolete. Use PostAsBulkResizePostResponse instead. // returns a ItemCloudpcsBulkresizeBulkResizeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -54,7 +54,7 @@ func (m *ItemCloudpcsBulkresizeBulkResizeRequestBuilder) Post(ctx context.Contex } return res.(ItemCloudpcsBulkresizeBulkResizeResponseable), nil } -// PostAsBulkResizePostResponse perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// PostAsBulkResizePostResponse perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize // returns a ItemCloudpcsBulkresizeBulkResizePostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -78,7 +78,7 @@ func (m *ItemCloudpcsBulkresizeBulkResizeRequestBuilder) PostAsBulkResizePostRes } return res.(ItemCloudpcsBulkresizeBulkResizePostResponseable), nil } -// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. +// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize // returns a *RequestInformation when successful func (m *ItemCloudpcsBulkresizeBulkResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudpcsBulkresizeBulkResizePostRequestBodyable, requestConfiguration *ItemCloudpcsBulkresizeBulkResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go b/users/item_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go index c86cc1d9b7a..77aa6bb98ee 100644 --- a/users/item_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go +++ b/users/item_cloudpcs_item_createsnapshot_create_snapshot_request_builder.go @@ -30,8 +30,11 @@ func NewItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action createSnapshot +// Post create a snapshot for a specific Cloud PC device. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-createsnapshot?view=graph-rest-beta func (m *ItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) Post(ctx co } return nil } -// ToPostRequestInformation invoke action createSnapshot +// ToPostRequestInformation create a snapshot for a specific Cloud PC device. // returns a *RequestInformation when successful func (m *ItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudpcsItemCreatesnapshotCreateSnapshotRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloudpcs_item_resize_request_builder.go b/users/item_cloudpcs_item_resize_request_builder.go index 73aa22710e4..985cbbee32d 100644 --- a/users/item_cloudpcs_item_resize_request_builder.go +++ b/users/item_cloudpcs_item_resize_request_builder.go @@ -30,8 +30,11 @@ func NewItemCloudpcsItemResizeRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemCloudpcsItemResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action resize +// Post upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-resize?view=graph-rest-beta func (m *ItemCloudpcsItemResizeRequestBuilder) Post(ctx context.Context, body ItemCloudpcsItemResizePostRequestBodyable, requestConfiguration *ItemCloudpcsItemResizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemCloudpcsItemResizeRequestBuilder) Post(ctx context.Context, body It } return nil } -// ToPostRequestInformation invoke action resize +// ToPostRequestInformation upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. // returns a *RequestInformation when successful func (m *ItemCloudpcsItemResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudpcsItemResizePostRequestBodyable, requestConfiguration *ItemCloudpcsItemResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contactfolders_item_childfolders_item_contacts_count_request_builder.go b/users/item_contactfolders_item_childfolders_item_contacts_count_request_builder.go index e9270624841..720e1241ded 100644 --- a/users/item_contactfolders_item_childfolders_item_contacts_count_request_builder.go +++ b/users/item_contactfolders_item_childfolders_item_contacts_count_request_builder.go @@ -14,6 +14,8 @@ type ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilder struct { type ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderGetRequest // NewItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderInternal instantiates a new ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilder and sets the default values. func NewItemContactfoldersItemChildfoldersItemContactsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilder) { m := &ItemContactfoldersItemChildfoldersItemContactsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_count_request_builder.go b/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_count_request_builder.go index 99658981a5b..724ebd5e469 100644 --- a/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_count_request_builder.go +++ b/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBui type ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBui // NewItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilderInternal instantiates a new ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilder and sets the default values. func NewItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilder) { m := &ItemContactfoldersItemChildfoldersItemContactsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_request_builder.go b/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_request_builder.go index 93bb3296bcc..50ff1d01c37 100644 --- a/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contactfolders_item_childfolders_item_contacts_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilderG Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuil // NewItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilderInternal instantiates a new ItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilder and sets the default values. func NewItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilder) { m := &ItemContactfoldersItemChildfoldersItemContactsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_childfolders_item_contacts_item_photo_request_builder.go b/users/item_contactfolders_item_childfolders_item_contacts_item_photo_request_builder.go index 917a647308c..37fb3e7c8dd 100644 --- a/users/item_contactfolders_item_childfolders_item_contacts_item_photo_request_builder.go +++ b/users/item_contactfolders_item_childfolders_item_contacts_item_photo_request_builder.go @@ -13,6 +13,8 @@ type ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilder struc } // ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilderGetQueryParameters optional contact picture. You can get or set a photo for a contact. type ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilderPatchR // NewItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilderInternal instantiates a new ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilder and sets the default values. func NewItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilder) { m := &ItemContactfoldersItemChildfoldersItemContactsItemPhotoRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_childfolders_item_contacts_request_builder.go b/users/item_contactfolders_item_childfolders_item_contacts_request_builder.go index 7ccd6c47ad7..e6589c11b11 100644 --- a/users/item_contactfolders_item_childfolders_item_contacts_request_builder.go +++ b/users/item_contactfolders_item_childfolders_item_contacts_request_builder.go @@ -21,6 +21,8 @@ type ItemContactfoldersItemChildfoldersItemContactsRequestBuilderGetQueryParamet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemContactfoldersItemChildfoldersItemContactsRequestBuilder) ByContact // NewItemContactfoldersItemChildfoldersItemContactsRequestBuilderInternal instantiates a new ItemContactfoldersItemChildfoldersItemContactsRequestBuilder and sets the default values. func NewItemContactfoldersItemChildfoldersItemContactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemChildfoldersItemContactsRequestBuilder) { m := &ItemContactfoldersItemChildfoldersItemContactsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_contacts_item_extensions_count_request_builder.go b/users/item_contactfolders_item_contacts_item_extensions_count_request_builder.go index 6afbab1f533..c426a0a9ae1 100644 --- a/users/item_contactfolders_item_contacts_item_extensions_count_request_builder.go +++ b/users/item_contactfolders_item_contacts_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemContactfoldersItemContactsItemExtensionsCountRequestBuilder struct { type ItemContactfoldersItemContactsItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemContactfoldersItemContactsItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemContactfoldersItemContactsItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemContactfoldersItemContactsItemExtensionsCountRequestBuilderGetRequestCo // NewItemContactfoldersItemContactsItemExtensionsCountRequestBuilderInternal instantiates a new ItemContactfoldersItemContactsItemExtensionsCountRequestBuilder and sets the default values. func NewItemContactfoldersItemContactsItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemContactsItemExtensionsCountRequestBuilder) { m := &ItemContactfoldersItemContactsItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_contacts_item_extensions_request_builder.go b/users/item_contactfolders_item_contacts_item_extensions_request_builder.go index 0b77e93ed11..bf3e2134aec 100644 --- a/users/item_contactfolders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contactfolders_item_contacts_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemContactfoldersItemContactsItemExtensionsRequestBuilderGetQueryParameter Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemContactfoldersItemContactsItemExtensionsRequestBuilder) ByExtension // NewItemContactfoldersItemContactsItemExtensionsRequestBuilderInternal instantiates a new ItemContactfoldersItemContactsItemExtensionsRequestBuilder and sets the default values. func NewItemContactfoldersItemContactsItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemContactsItemExtensionsRequestBuilder) { m := &ItemContactfoldersItemContactsItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_contactfolders_item_contacts_item_photo_request_builder.go b/users/item_contactfolders_item_contacts_item_photo_request_builder.go index 1181d90dd95..e8e092d20a9 100644 --- a/users/item_contactfolders_item_contacts_item_photo_request_builder.go +++ b/users/item_contactfolders_item_contacts_item_photo_request_builder.go @@ -13,6 +13,8 @@ type ItemContactfoldersItemContactsItemPhotoRequestBuilder struct { } // ItemContactfoldersItemContactsItemPhotoRequestBuilderGetQueryParameters optional contact picture. You can get or set a photo for a contact. type ItemContactfoldersItemContactsItemPhotoRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemContactfoldersItemContactsItemPhotoRequestBuilderPatchRequestConfigurat // NewItemContactfoldersItemContactsItemPhotoRequestBuilderInternal instantiates a new ItemContactfoldersItemContactsItemPhotoRequestBuilder and sets the default values. func NewItemContactfoldersItemContactsItemPhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactfoldersItemContactsItemPhotoRequestBuilder) { m := &ItemContactfoldersItemContactsItemPhotoRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_contacts_item_photo_request_builder.go b/users/item_contacts_item_photo_request_builder.go index 30faa6ace58..cc022282de1 100644 --- a/users/item_contacts_item_photo_request_builder.go +++ b/users/item_contacts_item_photo_request_builder.go @@ -13,6 +13,8 @@ type ItemContactsItemPhotoRequestBuilder struct { } // ItemContactsItemPhotoRequestBuilderGetQueryParameters optional contact picture. You can get or set a photo for a contact. type ItemContactsItemPhotoRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemContactsItemPhotoRequestBuilderPatchRequestConfiguration struct { // NewItemContactsItemPhotoRequestBuilderInternal instantiates a new ItemContactsItemPhotoRequestBuilder and sets the default values. func NewItemContactsItemPhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemContactsItemPhotoRequestBuilder) { m := &ItemContactsItemPhotoRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contacts/{contact%2Did}/photo{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/contacts/{contact%2Did}/photo{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_calendar_request_builder.go b/users/item_events_item_calendar_request_builder.go index cfd6a73151e..22cd178de13 100644 --- a/users/item_events_item_calendar_request_builder.go +++ b/users/item_events_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemCalendarRequestBuilder struct { } // ItemEventsItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemCalendarRequestBuilderGetRequestConfiguration struct { // NewItemEventsItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemCalendarRequestBuilder) { m := &ItemEventsItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go index f2fc151a497..d4a3b38dda8 100644 --- a/users/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder struct type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequ // NewItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_events_item_exceptionoccurrences_item_attachments_request_builder.go index d196fcc38c0..a28ef731198 100644 --- a/users/item_events_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderGetQueryPara Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) ByAtta // NewItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_events_item_exceptionoccurrences_item_calendar_request_builder.go index 9240ef2f05d..fbf62d66965 100644 --- a/users/item_events_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder struct { } // ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderGetRequestConfi // NewItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go index 8f8193a5940..1993f5a18cd 100644 --- a/users/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder struct type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetReque // NewItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_events_item_exceptionoccurrences_item_extensions_request_builder.go index 8c2eadd90d6..04b2435dbf6 100644 --- a/users/item_events_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderGetQueryParam Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) ByExten // NewItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go index dabb4850051..4615dc7fa5a 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder struct { type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderGetReques // NewItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go index 4074c67ab8c..7012145d5db 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder stru type ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) // NewItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go index 82c58da39b7..4448655a309 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestB type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestB // NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go index bee0ddae8b2..eaab5cde75d 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBu // NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go index ac7401f00d0..e6accaec380 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder s } // ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderGe // NewItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go index 780364c5561..a3cd7154711 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBu type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBu // NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go index 283d8479343..f2662b40316 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBui // NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_exceptionoccurrences_item_instances_request_builder.go b/users/item_events_item_exceptionoccurrences_item_instances_request_builder.go index 6098f5c9fe0..c93a69fb9ac 100644 --- a/users/item_events_item_exceptionoccurrences_item_instances_request_builder.go +++ b/users/item_events_item_exceptionoccurrences_item_instances_request_builder.go @@ -17,10 +17,14 @@ type ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderGetQueryParame Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -54,7 +58,7 @@ func (m *ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) ByEventI // NewItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal instantiates a new ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder and sets the default values. func NewItemEventsItemExceptionoccurrencesItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder) { m := &ItemEventsItemExceptionoccurrencesItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_event_item_request_builder.go b/users/item_events_item_instances_event_item_request_builder.go index 83a16cc76c3..5abe27c27e7 100644 --- a/users/item_events_item_instances_event_item_request_builder.go +++ b/users/item_events_item_instances_event_item_request_builder.go @@ -15,6 +15,8 @@ type ItemEventsItemInstancesEventItemRequestBuilder struct { type ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 @@ -52,7 +54,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) Cancel()(*ItemEventsIte // NewItemEventsItemInstancesEventItemRequestBuilderInternal instantiates a new ItemEventsItemInstancesEventItemRequestBuilder and sets the default values. func NewItemEventsItemInstancesEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesEventItemRequestBuilder) { m := &ItemEventsItemInstancesEventItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_attachments_count_request_builder.go b/users/item_events_item_instances_item_attachments_count_request_builder.go index 31eef181398..47879b121fe 100644 --- a/users/item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_events_item_instances_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemAttachmentsCountRequestBuilder struct { type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemAttachmentsCountRequestBuilderGetRequestConfigur // NewItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemInstancesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_attachments_request_builder.go b/users/item_events_item_instances_item_attachments_request_builder.go index 39d3e3f58bc..ad01f60ee1a 100644 --- a/users/item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters stru Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(at // NewItemEventsItemInstancesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemAttachmentsRequestBuilder) { m := &ItemEventsItemInstancesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_calendar_request_builder.go b/users/item_events_item_instances_item_calendar_request_builder.go index 23a887a7cf2..6b0693b1810 100644 --- a/users/item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemInstancesItemCalendarRequestBuilder struct { } // ItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemInstancesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemInstancesItemCalendarRequestBuilderGetRequestConfiguration st // NewItemEventsItemInstancesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemCalendarRequestBuilder) { m := &ItemEventsItemInstancesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go index 35ce8e60588..b19033f2742 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder struct { type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderGetReques // NewItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go index c644afca325..9cc9f598014 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_exception_occurrences_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestB Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -52,7 +54,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequ // NewItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesExceptionOccurrencesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go index d69b4c08c3c..c791a61e8ae 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestB type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestB // NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go index f2d587da617..66666e23772 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilde Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBu // NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go index ba3e7d6d2a7..82046630ca2 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_item_calendar_request_builder.go @@ -13,6 +13,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder s } // ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters the calendar that contains the event. Navigation property. Read-only. type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderGe // NewItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemCalendarRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/calendar{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go index 388f43cdb04..eb2ec253651 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBu type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBu // NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go b/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go index ed81e4f9a1f..a9bc4c9bc85 100644 --- a/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_exceptionoccurrences_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBui // NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder) { m := &ItemEventsItemInstancesItemExceptionoccurrencesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_extensions_count_request_builder.go b/users/item_events_item_instances_item_extensions_count_request_builder.go index 2588652d9aa..a0d11390c62 100644 --- a/users/item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_events_item_instances_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemEventsItemInstancesItemExtensionsCountRequestBuilder struct { type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemEventsItemInstancesItemExtensionsCountRequestBuilderGetRequestConfigura // NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExtensionsCountRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { m := &ItemEventsItemInstancesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_events_item_instances_item_extensions_request_builder.go b/users/item_events_item_instances_item_extensions_request_builder.go index a0730ffa399..42800f2d438 100644 --- a/users/item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struc Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(exte // NewItemEventsItemInstancesItemExtensionsRequestBuilderInternal instantiates a new ItemEventsItemInstancesItemExtensionsRequestBuilder and sets the default values. func NewItemEventsItemInstancesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesItemExtensionsRequestBuilder) { m := &ItemEventsItemInstancesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_events_item_instances_request_builder.go b/users/item_events_item_instances_request_builder.go index b48e7446079..af4bdd09b4b 100644 --- a/users/item_events_item_instances_request_builder.go +++ b/users/item_events_item_instances_request_builder.go @@ -17,6 +17,8 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 EndDateTime *string `uriparametername:"endDateTime"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -56,7 +58,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*Ite // NewItemEventsItemInstancesRequestBuilderInternal instantiates a new ItemEventsItemInstancesRequestBuilder and sets the default values. func NewItemEventsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEventsItemInstancesRequestBuilder) { m := &ItemEventsItemInstancesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_inferenceclassification_inference_classification_request_builder.go b/users/item_inferenceclassification_inference_classification_request_builder.go index f98b37890db..8871054c5f1 100644 --- a/users/item_inferenceclassification_inference_classification_request_builder.go +++ b/users/item_inferenceclassification_inference_classification_request_builder.go @@ -13,6 +13,8 @@ type ItemInferenceclassificationInferenceClassificationRequestBuilder struct { } // ItemInferenceclassificationInferenceClassificationRequestBuilderGetQueryParameters relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. type ItemInferenceclassificationInferenceClassificationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemInferenceclassificationInferenceClassificationRequestBuilderPatchReques // NewItemInferenceclassificationInferenceClassificationRequestBuilderInternal instantiates a new ItemInferenceclassificationInferenceClassificationRequestBuilder and sets the default values. func NewItemInferenceclassificationInferenceClassificationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInferenceclassificationInferenceClassificationRequestBuilder) { m := &ItemInferenceclassificationInferenceClassificationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_inferenceclassification_overrides_inference_classification_override_item_request_builder.go b/users/item_inferenceclassification_overrides_inference_classification_override_item_request_builder.go index fb61600f546..61fa7479505 100644 --- a/users/item_inferenceclassification_overrides_inference_classification_override_item_request_builder.go +++ b/users/item_inferenceclassification_overrides_inference_classification_override_item_request_builder.go @@ -20,6 +20,8 @@ type ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequ } // ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilderGetQueryParameters a set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. type ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequ // NewItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilderInternal instantiates a new ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilder and sets the default values. func NewItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilder) { m := &ItemInferenceclassificationOverridesInferenceClassificationOverrideItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification/overrides/{inferenceClassificationOverride%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification/overrides/{inferenceClassificationOverride%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_inferenceclassification_overrides_request_builder.go b/users/item_inferenceclassification_overrides_request_builder.go index f3f467a2a4c..ce15a2f72a9 100644 --- a/users/item_inferenceclassification_overrides_request_builder.go +++ b/users/item_inferenceclassification_overrides_request_builder.go @@ -15,6 +15,8 @@ type ItemInferenceclassificationOverridesRequestBuilder struct { type ItemInferenceclassificationOverridesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemInferenceclassificationOverridesRequestBuilder) ByInferenceClassifi // NewItemInferenceclassificationOverridesRequestBuilderInternal instantiates a new ItemInferenceclassificationOverridesRequestBuilder and sets the default values. func NewItemInferenceclassificationOverridesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemInferenceclassificationOverridesRequestBuilder) { m := &ItemInferenceclassificationOverridesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification/overrides{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification/overrides{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_joinedgroups_joined_groups_request_builder.go b/users/item_joinedgroups_joined_groups_request_builder.go index f553f29f52c..c1eae2d7534 100644 --- a/users/item_joinedgroups_joined_groups_request_builder.go +++ b/users/item_joinedgroups_joined_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemJoinedgroupsJoinedGroupsRequestBuilder struct { type ItemJoinedgroupsJoinedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -40,7 +42,7 @@ type ItemJoinedgroupsJoinedGroupsRequestBuilderGetRequestConfiguration struct { // NewItemJoinedgroupsJoinedGroupsRequestBuilderInternal instantiates a new ItemJoinedgroupsJoinedGroupsRequestBuilder and sets the default values. func NewItemJoinedgroupsJoinedGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedgroupsJoinedGroupsRequestBuilder) { m := &ItemJoinedgroupsJoinedGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messagerules_count_request_builder.go b/users/item_mailfolders_item_childfolders_item_messagerules_count_request_builder.go index 026dd1e36d6..ad2a492c075 100644 --- a/users/item_mailfolders_item_childfolders_item_messagerules_count_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messagerules_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilder struct { type ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderGetReques // NewItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagerulesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messagerules_message_rule_item_request_builder.go b/users/item_mailfolders_item_childfolders_item_messagerules_message_rule_item_request_builder.go index 0513c0dcfd0..e000f977a87 100644 --- a/users/item_mailfolders_item_childfolders_item_messagerules_message_rule_item_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messagerules_message_rule_item_request_builder.go @@ -20,6 +20,8 @@ type ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilde } // ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilde // NewItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagerulesMessageRuleItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messagerules_message_rules_request_builder.go b/users/item_mailfolders_item_childfolders_item_messagerules_message_rules_request_builder.go index 854235efc90..c859fa13a1e 100644 --- a/users/item_mailfolders_item_childfolders_item_messagerules_message_rules_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messagerules_message_rules_request_builder.go @@ -15,10 +15,14 @@ type ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilder s type ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -57,7 +61,7 @@ func (m *ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuild // NewItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagerulesMessageRulesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_attachments_count_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_attachments_count_request_builder.go index c9ad1c101ee..ce2c6918227 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_attachments_count_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuild type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuild // NewItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_attachments_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_attachments_request_builder.go index 46feb30d9cd..8e366bd8a4a 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_attachments_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_attachments_request_builder.go @@ -21,8 +21,14 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilderGet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` } // ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration struct { @@ -55,7 +61,7 @@ func (m *ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilde // NewItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_extensions_count_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_extensions_count_request_builder.go index 930a87cede0..10292a37ef2 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_extensions_count_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilde type ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilde // NewItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_extensions_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_extensions_request_builder.go index bfe52ee60d3..84ccc9939ed 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_extensions_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilderGetQ Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilder // NewItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_mentions_count_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_mentions_count_request_builder.go index 9601925a987..7fa766e0f5c 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_mentions_count_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilder type ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderG // NewItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_messages_item_mentions_request_builder.go b/users/item_mailfolders_item_childfolders_item_messages_item_mentions_request_builder.go index ca1dd55124a..40a101a6e1c 100644 --- a/users/item_mailfolders_item_childfolders_item_messages_item_mentions_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_messages_item_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilderGetQue Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilder) // NewItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemMessagesItemMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_userconfigurations_count_request_builder.go b/users/item_mailfolders_item_childfolders_item_userconfigurations_count_request_builder.go index b2500eaf6ee..af548a7da39 100644 --- a/users/item_mailfolders_item_childfolders_item_userconfigurations_count_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_userconfigurations_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilder st type ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderGet // NewItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemUserconfigurationsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configuration_item_request_builder.go b/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configuration_item_request_builder.go index b02d9307cae..859df6f0a26 100644 --- a/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configuration_item_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configuration_item_request_builder.go @@ -13,6 +13,8 @@ type ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemR } // ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderGetQueryParameters get userConfigurations from users type ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemR // NewItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations/{userConfiguration%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations/{userConfiguration%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configurations_request_builder.go b/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configurations_request_builder.go index ee59fb90d33..57f253e4642 100644 --- a/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configurations_request_builder.go +++ b/users/item_mailfolders_item_childfolders_item_userconfigurations_user_configurations_request_builder.go @@ -15,10 +15,14 @@ type ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequ type ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -50,7 +54,7 @@ func (m *ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurations // NewItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilderInternal instantiates a new ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilder and sets the default values. func NewItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilder) { m := &ItemMailfoldersItemChildfoldersItemUserconfigurationsUserConfigurationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messagerules_message_rule_item_request_builder.go b/users/item_mailfolders_item_messagerules_message_rule_item_request_builder.go index 9d66a2b7fdb..852c292ab20 100644 --- a/users/item_mailfolders_item_messagerules_message_rule_item_request_builder.go +++ b/users/item_mailfolders_item_messagerules_message_rule_item_request_builder.go @@ -20,6 +20,8 @@ type ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderDeleteRequestCo } // ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderPatchRequestCon // NewItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilder) { m := &ItemMailfoldersItemMessagerulesMessageRuleItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messagerules_message_rules_request_builder.go b/users/item_mailfolders_item_messagerules_message_rules_request_builder.go index d67880566d2..1ee73643e0f 100644 --- a/users/item_mailfolders_item_messagerules_message_rules_request_builder.go +++ b/users/item_mailfolders_item_messagerules_message_rules_request_builder.go @@ -15,6 +15,8 @@ type ItemMailfoldersItemMessagerulesMessageRulesRequestBuilder struct { type ItemMailfoldersItemMessagerulesMessageRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemMailfoldersItemMessagerulesMessageRulesRequestBuilder) ByMessageRul // NewItemMailfoldersItemMessagerulesMessageRulesRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagerulesMessageRulesRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagerulesMessageRulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagerulesMessageRulesRequestBuilder) { m := &ItemMailfoldersItemMessagerulesMessageRulesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_attachments_count_request_builder.go b/users/item_mailfolders_item_messages_item_attachments_count_request_builder.go index 0c10dedc58e..43d7654f43a 100644 --- a/users/item_mailfolders_item_messages_item_attachments_count_request_builder.go +++ b/users/item_mailfolders_item_messages_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilder struct { type ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderGetRequestConf // NewItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilder) { m := &ItemMailfoldersItemMessagesItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_attachments_request_builder.go b/users/item_mailfolders_item_messages_item_attachments_request_builder.go index 6905a1af254..f37b1060595 100644 --- a/users/item_mailfolders_item_messages_item_attachments_request_builder.go +++ b/users/item_mailfolders_item_messages_item_attachments_request_builder.go @@ -21,8 +21,14 @@ type ItemMailfoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` } // ItemMailfoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration struct { @@ -55,7 +61,7 @@ func (m *ItemMailfoldersItemMessagesItemAttachmentsRequestBuilder) ByAttachmentI // NewItemMailfoldersItemMessagesItemAttachmentsRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemAttachmentsRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemAttachmentsRequestBuilder) { m := &ItemMailfoldersItemMessagesItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_extensions_count_request_builder.go b/users/item_mailfolders_item_messages_item_extensions_count_request_builder.go index d844282a6bd..da68ba4c730 100644 --- a/users/item_mailfolders_item_messages_item_extensions_count_request_builder.go +++ b/users/item_mailfolders_item_messages_item_extensions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilder struct { type ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderGetRequestConfi // NewItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilder) { m := &ItemMailfoldersItemMessagesItemExtensionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_extensions_request_builder.go b/users/item_mailfolders_item_messages_item_extensions_request_builder.go index 319ab99397f..ff95ca32fca 100644 --- a/users/item_mailfolders_item_messages_item_extensions_request_builder.go +++ b/users/item_mailfolders_item_messages_item_extensions_request_builder.go @@ -21,6 +21,8 @@ type ItemMailfoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters s Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemMailfoldersItemMessagesItemExtensionsRequestBuilder) ByExtensionId( // NewItemMailfoldersItemMessagesItemExtensionsRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemExtensionsRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemExtensionsRequestBuilder) { m := &ItemMailfoldersItemMessagesItemExtensionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_mentions_count_request_builder.go b/users/item_mailfolders_item_messages_item_mentions_count_request_builder.go index 7449995acc0..6ac1c80a58a 100644 --- a/users/item_mailfolders_item_messages_item_mentions_count_request_builder.go +++ b/users/item_mailfolders_item_messages_item_mentions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemMailfoldersItemMessagesItemMentionsCountRequestBuilder struct { type ItemMailfoldersItemMessagesItemMentionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemMailfoldersItemMessagesItemMentionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemMailfoldersItemMessagesItemMentionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemMailfoldersItemMessagesItemMentionsCountRequestBuilderGetRequestConfigu // NewItemMailfoldersItemMessagesItemMentionsCountRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemMentionsCountRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemMentionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemMentionsCountRequestBuilder) { m := &ItemMailfoldersItemMessagesItemMentionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/mentions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/mentions/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_messages_item_mentions_request_builder.go b/users/item_mailfolders_item_messages_item_mentions_request_builder.go index 7fa8616bdd3..a4a809580a1 100644 --- a/users/item_mailfolders_item_messages_item_mentions_request_builder.go +++ b/users/item_mailfolders_item_messages_item_mentions_request_builder.go @@ -21,6 +21,8 @@ type ItemMailfoldersItemMessagesItemMentionsRequestBuilderGetQueryParameters str Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -59,7 +61,7 @@ func (m *ItemMailfoldersItemMessagesItemMentionsRequestBuilder) ByMentionId(ment // NewItemMailfoldersItemMessagesItemMentionsRequestBuilderInternal instantiates a new ItemMailfoldersItemMessagesItemMentionsRequestBuilder and sets the default values. func NewItemMailfoldersItemMessagesItemMentionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemMessagesItemMentionsRequestBuilder) { m := &ItemMailfoldersItemMessagesItemMentionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/mentions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_userconfigurations_user_configuration_item_request_builder.go b/users/item_mailfolders_item_userconfigurations_user_configuration_item_request_builder.go index 81faa0bc238..07cdd62dea9 100644 --- a/users/item_mailfolders_item_userconfigurations_user_configuration_item_request_builder.go +++ b/users/item_mailfolders_item_userconfigurations_user_configuration_item_request_builder.go @@ -13,6 +13,8 @@ type ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder st } // ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderGetQueryParameters get userConfigurations from users type ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderGet // NewItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderInternal instantiates a new ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder and sets the default values. func NewItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder) { m := &ItemMailfoldersItemUserconfigurationsUserConfigurationItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/userConfigurations/{userConfiguration%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/userConfigurations/{userConfiguration%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_mailfolders_item_userconfigurations_user_configurations_request_builder.go b/users/item_mailfolders_item_userconfigurations_user_configurations_request_builder.go index bf30f65cf72..c3705ad196f 100644 --- a/users/item_mailfolders_item_userconfigurations_user_configurations_request_builder.go +++ b/users/item_mailfolders_item_userconfigurations_user_configurations_request_builder.go @@ -15,6 +15,8 @@ type ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilder struc type ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilder) // NewItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilderInternal instantiates a new ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilder and sets the default values. func NewItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilder) { m := &ItemMailfoldersItemUserconfigurationsUserConfigurationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/userConfigurations{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go b/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go index f23d2c7aafd..85de43db16a 100644 --- a/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go +++ b/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollect // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCol } return nil } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -126,7 +126,7 @@ func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCol requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go b/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go index 7db314afcf5..a7ffbed1885 100644 --- a/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go +++ b/users/item_mobileapptroubleshootingevents_item_applogcollectionrequests_app_log_collection_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogColl func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) Count()(*ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsCountRequestBuilder) { return NewItemMobileapptroubleshootingeventsItemApplogcollectionrequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCol } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileapptroubleshootingeventsItemApplogcollectionrequestsAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onlinemeetings_item_recordings_item_content_request_builder.go b/users/item_onlinemeetings_item_recordings_item_content_request_builder.go index 7ae995f8016..f1f0c57151a 100644 --- a/users/item_onlinemeetings_item_recordings_item_content_request_builder.go +++ b/users/item_onlinemeetings_item_recordings_item_content_request_builder.go @@ -61,9 +61,12 @@ func (m *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilder) Delete(ctx c } return nil } -// Get the content of the recording. Read-only. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-beta func (m *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the content of the recording. Read-only. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onlinemeetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/users/item_onlinemeetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 3ec91f8b498..271fa6f5155 100644 --- a/users/item_onlinemeetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/users/item_onlinemeetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -54,8 +54,11 @@ func NewItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRe urlParams["request-raw-url"] = rawUrl return NewItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property registrants for users +// Delete cancel an onlineMeeting registration for a meetingRegistrant on behalf of the registrant. Only use this method when the allowedRegistrant property of the meetingRegistration object has a value of organization and the registrant's delegated permission was used to enroll. When the allowedRegistrant value is everyone, registrants can only use the link in the email they receive to cancel their registration. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrant-delete?view=graph-rest-beta func (m *ItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +113,7 @@ func (m *ItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil } -// ToDeleteRequestInformation delete navigation property registrants for users +// ToDeleteRequestInformation cancel an onlineMeeting registration for a meetingRegistrant on behalf of the registrant. Only use this method when the allowedRegistrant property of the meetingRegistration object has a value of organization and the registrant's delegated permission was used to enroll. When the allowedRegistrant value is everyone, registrants can only use the link in the email they receive to cancel their registration. // returns a *RequestInformation when successful func (m *ItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onlinemeetings_item_registration_registrants_request_builder.go b/users/item_onlinemeetings_item_registration_registrants_request_builder.go index 16f97d071e9..87e42d5c9fc 100644 --- a/users/item_onlinemeetings_item_registration_registrants_request_builder.go +++ b/users/item_onlinemeetings_item_registration_registrants_request_builder.go @@ -96,9 +96,12 @@ func (m *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseCollectionResponseable), nil } -// Post create new navigation property to registrants for users +// Post enroll a meeting registrant in an online meeting that has meeting registration enabled on behalf of the registrant. This operation has two scenarios: In either scenario, the registrant will receive an email notification that contains their registration information. // returns a MeetingRegistrantBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-registrants?view=graph-rest-beta func (m *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to registrants for users +// ToPostRequestInformation enroll a meeting registrant in an online meeting that has meeting registration enabled on behalf of the registrant. This operation has two scenarios: In either scenario, the registrant will receive an email notification that contains their registration information. // returns a *RequestInformation when successful func (m *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *ItemOnlinemeetingsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onlinemeetings_item_transcripts_item_content_request_builder.go b/users/item_onlinemeetings_item_transcripts_item_content_request_builder.go index b41f9ba0aa6..b9ec61d9cbe 100644 --- a/users/item_onlinemeetings_item_transcripts_item_content_request_builder.go +++ b/users/item_onlinemeetings_item_transcripts_item_content_request_builder.go @@ -61,9 +61,12 @@ func (m *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilder) Delete(ctx } return nil } -// Get the content of the transcript. Read-only. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-beta func (m *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the content of the transcript. Read-only. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onlinemeetings_item_transcripts_item_metadatacontent_metadata_content_request_builder.go b/users/item_onlinemeetings_item_transcripts_item_metadatacontent_metadata_content_request_builder.go index 86bb1f4f6d7..41ce6ea0a1e 100644 --- a/users/item_onlinemeetings_item_transcripts_item_metadatacontent_metadata_content_request_builder.go +++ b/users/item_onlinemeetings_item_transcripts_item_metadatacontent_metadata_content_request_builder.go @@ -60,9 +60,12 @@ func (m *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequ } return nil } -// Get the time-aligned metadata of the utterances in the transcript. Read-only. +// Get 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. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-beta func (m *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,7 +114,7 @@ func (m *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// ToGetRequestInformation 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. // returns a *RequestInformation when successful func (m *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlinemeetingsItemTranscriptsItemMetadatacontentMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_outlook_mastercategories_master_categories_request_builder.go b/users/item_outlook_mastercategories_master_categories_request_builder.go index a4a64414899..5a8ed58902b 100644 --- a/users/item_outlook_mastercategories_master_categories_request_builder.go +++ b/users/item_outlook_mastercategories_master_categories_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookMastercategoriesMasterCategoriesRequestBuilder struct { type ItemOutlookMastercategoriesMasterCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -59,7 +61,7 @@ func (m *ItemOutlookMastercategoriesMasterCategoriesRequestBuilder) ByOutlookCat // NewItemOutlookMastercategoriesMasterCategoriesRequestBuilderInternal instantiates a new ItemOutlookMastercategoriesMasterCategoriesRequestBuilder and sets the default values. func NewItemOutlookMastercategoriesMasterCategoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookMastercategoriesMasterCategoriesRequestBuilder) { m := &ItemOutlookMastercategoriesMasterCategoriesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/masterCategories{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/masterCategories{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_mastercategories_outlook_category_item_request_builder.go b/users/item_outlook_mastercategories_outlook_category_item_request_builder.go index 8e4e38aa7f0..635a5079111 100644 --- a/users/item_outlook_mastercategories_outlook_category_item_request_builder.go +++ b/users/item_outlook_mastercategories_outlook_category_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderDeleteRequestCo } // ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderGetQueryParameters a list of categories defined for the user. type ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderPatchRequestCon // NewItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderInternal instantiates a new ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilder and sets the default values. func NewItemOutlookMastercategoriesOutlookCategoryItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilder) { m := &ItemOutlookMastercategoriesOutlookCategoryItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/masterCategories/{outlookCategory%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/masterCategories/{outlookCategory%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_request_builder.go b/users/item_outlook_request_builder.go index 94f95f6718c..4bb55a2f99f 100644 --- a/users/item_outlook_request_builder.go +++ b/users/item_outlook_request_builder.go @@ -13,6 +13,8 @@ type ItemOutlookRequestBuilder struct { } // ItemOutlookRequestBuilderGetQueryParameters selective Outlook services available to the user. Read-only. Nullable. type ItemOutlookRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemOutlookRequestBuilderGetRequestConfiguration struct { // NewItemOutlookRequestBuilderInternal instantiates a new ItemOutlookRequestBuilder and sets the default values. func NewItemOutlookRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookRequestBuilder) { m := &ItemOutlookRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_item_tasks_item_attachments_count_request_builder.go b/users/item_outlook_taskfolders_item_tasks_item_attachments_count_request_builder.go index 6c017b0c0a1..40d169afa72 100644 --- a/users/item_outlook_taskfolders_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_outlook_taskfolders_item_tasks_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilder struct { type ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetRequest // NewItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilder) { m := &ItemOutlookTaskfoldersItemTasksItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_taskfolders_item_tasks_item_attachments_request_builder.go index 6d4e1b4c019..a46991c37c0 100644 --- a/users/item_outlook_taskfolders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_taskfolders_item_tasks_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilderGetQueryParamet Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilder) ByAttachm // NewItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilder) { m := &ItemOutlookTaskfoldersItemTasksItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_taskfolders_item_tasks_outlook_task_item_request_builder.go index bdf73d6b6ff..1033719279d 100644 --- a/users/item_outlook_taskfolders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_taskfolders_item_tasks_outlook_task_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilderDeleteRequestCo } // ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilderGetQueryParameters the tasks in this task folder. Read-only. Nullable. type ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -52,7 +54,7 @@ func (m *ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilder) Complete( // NewItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilder) { m := &ItemOutlookTaskfoldersItemTasksOutlookTaskItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_item_tasks_request_builder.go b/users/item_outlook_taskfolders_item_tasks_request_builder.go index 56484511109..6ab581b21e2 100644 --- a/users/item_outlook_taskfolders_item_tasks_request_builder.go +++ b/users/item_outlook_taskfolders_item_tasks_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookTaskfoldersItemTasksRequestBuilder struct { type ItemOutlookTaskfoldersItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskfoldersItemTasksRequestBuilder) ByOutlookTaskId(outlookT // NewItemOutlookTaskfoldersItemTasksRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersItemTasksRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersItemTasksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersItemTasksRequestBuilder) { m := &ItemOutlookTaskfoldersItemTasksRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_outlook_task_folder_item_request_builder.go b/users/item_outlook_taskfolders_outlook_task_folder_item_request_builder.go index 3729d22e553..949ef077f52 100644 --- a/users/item_outlook_taskfolders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_taskfolders_outlook_task_folder_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderDeleteRequestConfi } // ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters the user's Outlook task folders. Read-only. Nullable. type ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderPatchRequestConfig // NewItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilder) { m := &ItemOutlookTaskfoldersOutlookTaskFolderItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskfolders_task_folders_request_builder.go b/users/item_outlook_taskfolders_task_folders_request_builder.go index 744ffefd1e3..dfe65eac566 100644 --- a/users/item_outlook_taskfolders_task_folders_request_builder.go +++ b/users/item_outlook_taskfolders_task_folders_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookTaskfoldersTaskFoldersRequestBuilder struct { type ItemOutlookTaskfoldersTaskFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskfoldersTaskFoldersRequestBuilder) ByOutlookTaskFolderId( // NewItemOutlookTaskfoldersTaskFoldersRequestBuilderInternal instantiates a new ItemOutlookTaskfoldersTaskFoldersRequestBuilder and sets the default values. func NewItemOutlookTaskfoldersTaskFoldersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskfoldersTaskFoldersRequestBuilder) { m := &ItemOutlookTaskfoldersTaskFoldersRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_count_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_count_request_builder.go index a2f8fcc8b40..e41702ed06e 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_count_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_count_request_builder.go @@ -14,6 +14,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilder struct { type ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderGetRequestC // NewItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersItemTasksCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_count_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_count_request_builder.go index a03d0b43d90..29460596e68 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBui type ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBui // NewItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_request_builder.go index 5260227904c..a218b6c76c5 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_item_attachments_request_builder.go @@ -21,6 +21,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilderG Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuil // NewItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersItemTasksItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_outlook_task_item_request_builder.go index 18a903ce3ec..4fb31235208 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_outlook_task_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilderD } // ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilderGetQueryParameters the tasks in this task folder. Read-only. Nullable. type ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -52,7 +54,7 @@ func (m *ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuil // NewItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersItemTasksOutlookTaskItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks/{outlookTask%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_request_builder.go index b5a98756b32..93fbc521258 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_item_tasks_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_item_tasks_request_builder.go @@ -15,10 +15,14 @@ type ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilder struct { type ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -58,7 +62,7 @@ func (m *ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilder) ByOutlookT // NewItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersItemTasksRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_outlook_task_folder_item_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_outlook_task_folder_item_request_builder.go index 95855ca8384..9269d69bb48 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_outlook_task_folder_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderDele } // ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters the collection of task folders in the task group. Read-only. Nullable. type ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderPatc // NewItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersOutlookTaskFolderItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders/{outlookTaskFolder%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_item_taskfolders_task_folders_request_builder.go b/users/item_outlook_taskgroups_item_taskfolders_task_folders_request_builder.go index 77ac444444e..fd71340d2bd 100644 --- a/users/item_outlook_taskgroups_item_taskfolders_task_folders_request_builder.go +++ b/users/item_outlook_taskgroups_item_taskfolders_task_folders_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilder struct { type ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilder) ByOutloo // NewItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilder) { m := &ItemOutlookTaskgroupsItemTaskfoldersTaskFoldersRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}/taskFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_outlook_task_group_item_request_builder.go b/users/item_outlook_taskgroups_outlook_task_group_item_request_builder.go index fed5f44877b..b44967a3d70 100644 --- a/users/item_outlook_taskgroups_outlook_task_group_item_request_builder.go +++ b/users/item_outlook_taskgroups_outlook_task_group_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderDeleteRequestConfigu } // ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters the user's Outlook task groups. Read-only. Nullable. type ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderPatchRequestConfigur // NewItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilder) { m := &ItemOutlookTaskgroupsOutlookTaskGroupItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups/{outlookTaskGroup%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_taskgroups_task_groups_request_builder.go b/users/item_outlook_taskgroups_task_groups_request_builder.go index 88ceda3abba..202efa199f7 100644 --- a/users/item_outlook_taskgroups_task_groups_request_builder.go +++ b/users/item_outlook_taskgroups_task_groups_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookTaskgroupsTaskGroupsRequestBuilder struct { type ItemOutlookTaskgroupsTaskGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -60,7 +62,7 @@ func (m *ItemOutlookTaskgroupsTaskGroupsRequestBuilder) ByOutlookTaskGroupId(out // NewItemOutlookTaskgroupsTaskGroupsRequestBuilderInternal instantiates a new ItemOutlookTaskgroupsTaskGroupsRequestBuilder and sets the default values. func NewItemOutlookTaskgroupsTaskGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTaskgroupsTaskGroupsRequestBuilder) { m := &ItemOutlookTaskgroupsTaskGroupsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/taskGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_outlook_tasks_outlook_task_item_request_builder.go b/users/item_outlook_tasks_outlook_task_item_request_builder.go index bcd58be68b7..e43c601722f 100644 --- a/users/item_outlook_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_tasks_outlook_task_item_request_builder.go @@ -20,6 +20,8 @@ type ItemOutlookTasksOutlookTaskItemRequestBuilderDeleteRequestConfiguration str } // ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters the user's Outlook tasks. Read-only. Nullable. type ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -52,7 +54,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Complete()(*ItemOutlookT // NewItemOutlookTasksOutlookTaskItemRequestBuilderInternal instantiates a new ItemOutlookTasksOutlookTaskItemRequestBuilder and sets the default values. func NewItemOutlookTasksOutlookTaskItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTasksOutlookTaskItemRequestBuilder) { m := &ItemOutlookTasksOutlookTaskItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/tasks/{outlookTask%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/tasks/{outlookTask%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_outlook_tasks_request_builder.go b/users/item_outlook_tasks_request_builder.go index 9b44094465c..5f69dd3730e 100644 --- a/users/item_outlook_tasks_request_builder.go +++ b/users/item_outlook_tasks_request_builder.go @@ -15,6 +15,8 @@ type ItemOutlookTasksRequestBuilder struct { type ItemOutlookTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -60,7 +62,7 @@ func (m *ItemOutlookTasksRequestBuilder) ByOutlookTaskId(outlookTaskId string)(* // NewItemOutlookTasksRequestBuilderInternal instantiates a new ItemOutlookTasksRequestBuilder and sets the default values. func NewItemOutlookTasksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOutlookTasksRequestBuilder) { m := &ItemOutlookTasksRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/tasks{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/outlook/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_people_person_item_request_builder.go b/users/item_people_person_item_request_builder.go index 4c277bcfa56..4bd85636127 100644 --- a/users/item_people_person_item_request_builder.go +++ b/users/item_people_person_item_request_builder.go @@ -13,6 +13,8 @@ type ItemPeoplePersonItemRequestBuilder struct { } // ItemPeoplePersonItemRequestBuilderGetQueryParameters read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. type ItemPeoplePersonItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemPeoplePersonItemRequestBuilderGetRequestConfiguration struct { // NewItemPeoplePersonItemRequestBuilderInternal instantiates a new ItemPeoplePersonItemRequestBuilder and sets the default values. func NewItemPeoplePersonItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPeoplePersonItemRequestBuilder) { m := &ItemPeoplePersonItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/people/{person%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/people/{person%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_people_request_builder.go b/users/item_people_request_builder.go index c8198add15c..813cbb8d711 100644 --- a/users/item_people_request_builder.go +++ b/users/item_people_request_builder.go @@ -15,6 +15,8 @@ type ItemPeopleRequestBuilder struct { type ItemPeopleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemPeopleRequestBuilder) ByPersonId(personId string)(*ItemPeoplePerson // NewItemPeopleRequestBuilderInternal instantiates a new ItemPeopleRequestBuilder and sets the default values. func NewItemPeopleRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPeopleRequestBuilder) { m := &ItemPeopleRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/people{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/people{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_photo_request_builder.go b/users/item_photo_request_builder.go index d29d6a849e0..7ad6606cba4 100644 --- a/users/item_photo_request_builder.go +++ b/users/item_photo_request_builder.go @@ -20,6 +20,8 @@ type ItemPhotoRequestBuilderDeleteRequestConfiguration struct { } // ItemPhotoRequestBuilderGetQueryParameters the user's profile photo. Read-only. type ItemPhotoRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemPhotoRequestBuilderPatchRequestConfiguration struct { // NewItemPhotoRequestBuilderInternal instantiates a new ItemPhotoRequestBuilder and sets the default values. func NewItemPhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotoRequestBuilder) { m := &ItemPhotoRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photo{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photo{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_photos_profile_photo_item_request_builder.go b/users/item_photos_profile_photo_item_request_builder.go index aa210367ddd..26a13a67bd7 100644 --- a/users/item_photos_profile_photo_item_request_builder.go +++ b/users/item_photos_profile_photo_item_request_builder.go @@ -13,6 +13,8 @@ type ItemPhotosProfilePhotoItemRequestBuilder struct { } // ItemPhotosProfilePhotoItemRequestBuilderGetQueryParameters the collection of the user's profile photos in different sizes. Read-only. type ItemPhotosProfilePhotoItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -28,7 +30,7 @@ type ItemPhotosProfilePhotoItemRequestBuilderGetRequestConfiguration struct { // NewItemPhotosProfilePhotoItemRequestBuilderInternal instantiates a new ItemPhotosProfilePhotoItemRequestBuilder and sets the default values. func NewItemPhotosProfilePhotoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotosProfilePhotoItemRequestBuilder) { m := &ItemPhotosProfilePhotoItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photos/{profilePhoto%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photos/{profilePhoto%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_photos_request_builder.go b/users/item_photos_request_builder.go index 3c51284d0b5..950999984ff 100644 --- a/users/item_photos_request_builder.go +++ b/users/item_photos_request_builder.go @@ -15,6 +15,8 @@ type ItemPhotosRequestBuilder struct { type ItemPhotosRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -52,7 +54,7 @@ func (m *ItemPhotosRequestBuilder) ByProfilePhotoId(profilePhotoId string)(*Item // NewItemPhotosRequestBuilderInternal instantiates a new ItemPhotosRequestBuilder and sets the default values. func NewItemPhotosRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPhotosRequestBuilder) { m := &ItemPhotosRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go index dcbc201b427..338d3849555 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderDelete } // ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetQueryParameters a collection of file attachments for the task. type ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -35,7 +37,7 @@ type ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetReq // NewItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go index 91d9c88103c..e339c77e767 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go @@ -14,6 +14,8 @@ type ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder struct { type ItemTodoListsItemTasksItemAttachmentsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemTodoListsItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTodoListsItemTasksItemAttachmentsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemTodoListsItemTasksItemAttachmentsCountRequestBuilderGetRequestConfigura // NewItemTodoListsItemTasksItemAttachmentsCountRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$count{?%24filter,%24search}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go index 750b765f54c..19948cb136d 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go @@ -15,10 +15,14 @@ type ItemTodoListsItemTasksItemAttachmentsRequestBuilder struct { type ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -57,7 +61,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ByAttachmentBaseId // NewItemTodoListsItemTasksItemAttachmentsRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_session_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_session_item_request_builder.go index 6b8810145c7..187e56366c1 100644 --- a/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_session_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_session_item_request_builder.go @@ -20,6 +20,8 @@ type ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBui } // ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilderGetQueryParameters get attachmentSessions from users type ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -42,7 +44,7 @@ type ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBui // NewItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}{?%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}{?%24expand,%24select}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_sessions_request_builder.go b/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_sessions_request_builder.go index c9dfa1732d6..c71f147decc 100644 --- a/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_sessions_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachmentsessions_attachment_sessions_request_builder.go @@ -15,10 +15,14 @@ type ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilde type ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items @@ -50,7 +54,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBu // NewItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsessionsAttachmentSessionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/users/item_todo_lists_item_tasks_item_attachmentsessions_count_request_builder.go b/users/item_todo_lists_item_tasks_item_attachmentsessions_count_request_builder.go index a6fcd1a1dea..34279ed0cc9 100644 --- a/users/item_todo_lists_item_tasks_item_attachmentsessions_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachmentsessions_count_request_builder.go @@ -14,6 +14,8 @@ type ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilder struct { type ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` } // ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderGetRequestConfiguration struct { @@ -27,7 +29,7 @@ type ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderGetRequestCo // NewItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderInternal instantiates a new ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilder and sets the default values. func NewItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilder) { m := &ItemTodoListsItemTasksItemAttachmentsessionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$count{?%24filter}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$count{?%24filter,%24search}", pathParameters), } return m }